This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.
Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.
Project: Resource File Unit
Unit: PJResFile.
Class: TPJResourceEntry
Applies to: ~>1.1
procedure LoadDataFromFile(const SrcFileName: TFileName;
const Append: Boolean);
Loads the content of a file into the resource entry’s raw data. The file content can either replace existing or be appedned to it.
After the file is loaded the Data property’s stream pointer is set to 0
.
Parameters
True
the file contents are appended to the end of any current resource data. When False
any existing resource data is replaced by the file contents.