Contains a resource writer for external resource files

This unit contains , a TAbstractResourceWriter descendant that is able to write standalone resource files in a Free Pascal-specific format.

Adding this unit to a program's uses clause registers class with TResources.

See also

Free Pascal external resource file format description

Base class for external resource writer-related exceptions Invalid endianess error

This exception is raised when an attempt is made to set Endianess property of a object to a value other than EXT_ENDIAN_BIG or EXT_ENDIAN_LITTLE.

External resource file string table

This class is used internally by .

External file resource writer

This class provides a writer for .fpcres files: they are standalone files containing resources.

Standalone files are files that don't get linked with the final executable. They are used as a fallback solution on all those platforms for which an internal resource format is not available.

At runtime the resource file is read by Free Pascal RTL to provide resource support to the application.

Endianess property can be used to set the byte order to use in the file to generate.

TAbstractResourceWriter TExternalResourceReader
The byte order to use in the file

This property can be used to set the byte order (endianess) of the file to write.

If a value other than EXT_ENDIAN_BIG or EXT_ENDIAN_LITTLE is used, an exception is raised.
EXT_ENDIAN_BIG EXT_ENDIAN_LITTLE