Unit 'coffreader' Package
[Overview][Classes][Index] [#fcl-res]

TCoffResourceReader

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

COFF resource reader

Declaration

Source position: coffreader.pp line 36

type TCoffResourceReader = class(TAbstractResourceReader)

protected

  function GetExtensions; override;

  function GetDescription; override;

  procedure Load(); override;

  function CheckMagic(); override;

public

  constructor Create; override;

  destructor Destroy; override;

  property MachineType: TCoffMachineType; [r]

  

The machine type of the object file

end;

Inheritance

TCoffResourceReader

  

COFF resource reader

|

TAbstractResourceReader

  

Base abstract resource reader class

|

TObject

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.

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

See also

TCoffResourceReader.MachineType

  

The machine type of the object file

TAbstractResourceReader

  

Base abstract resource reader class

TWinPEImageResourceReader

  

PE image file resource reader

TCoffResourceWriter

  

COFF resource writer


Documentation generated on: Dec 22 2024