[Overview][Classes][Index] | Reference for unit 'externalwriter' (#fcl-res)

# TExternalResourceWriter

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

External file resource writer

## Declaration

Source position: externalwriter.pp line 33

`type TExternalResourceWriter = class(TAbstractResourceWriter)`
`protected`
`function GetExtensions; override;`
`function GetDescription; override;`
`procedure Write(); override;`
`public`
`constructor Create; override;`
`destructor Destroy; override;`
`property Endianess: Byte; [rw]` |  | The byte order to use in the file
`end;`

## Inheritance

`TExternalResourceWriter` |  | External file resource writer
`TAbstractResourceWriter` |  | Base abstract resource writer class
`TObject`

## Description

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.

## See also

TExternalResourceWriter.Endianess |  | The byte order to use in the file
TAbstractResourceWriter |  | Base abstract resource writer class
TExternalResourceReader |  | External file resource reader

Documentation generated on: May 14 2021