Welcome to the new DelphiDabbler Code Library Documentation.

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.

LoadDataFromFile method

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