Sign in Join
FPDoc Onlineexperiment

TCoffResourceReader class

In unit coffreader

COFF resource reader

Declaration

pascal
TCoffResourceReader = class(TAbstractResourceReader)

Inheritance

  1. TCoffResourceReader
  2. TAbstractResourceReader

Description

This class provides a reader for COFF object files containing resources.

COFF is the file format used by Microsoft Windows object files. Usually resources get stored in a object file that can be given to a linker to produce an executable.

After an object file has been read, MachineType property holds the machine type the object file was built for.

This reader is not able to read full PE images. Use TWinPEImageResourceReader instead.

See also

Properties

MachineTypepublicThe machine type of the object file

Methods

GetExtensionsprotectedReturns the extensions the reader is registered for
GetDescriptionprotectedReturns the description of the reader
LoadprotectedLoads resources from a stream
CheckMagicprotectedChecks whether a stream is in a format the reader recognizes
CreatepublicCreates a new reader object
Destroypublic

Inherited

From TAbstractResourceReader (9)

AddNoTree CallSubReaderLoad Description Extensions GetTree SetDataOffset SetDataSize SetHeaderSize SetRawData

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.