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.

SaveToFile method

Project: Resource File Unit

Unit: PJResFile.

Class: TPJResourceFile

Applies to: ~>1.0

procedure SaveToFile(const FileName: TFileName);

Creates a 32 bit resource file containing all the resources recorded in the resource file object. If there are no resource entries then a valid empty resource file is created.

Parameter:

Raises:

An exception is raised if the file cannot be created.