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

TCoffResourceWriter

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

COFF resource writer

Declaration

Source position: coffwriter.pp line 100

type TCoffResourceWriter = class(TAbstractResourceWriter)

protected

  fRoot: TRootResTreeNode;

  fRelocations: TCoffRelocations;

  fResDataSectionSymIdx: Word;

  fResHandlesSectionSymIdx: Word;

  fResDataEntryCurrentRVA: LongWord;

  fSymTablePtr: LongWord;

  fStringTable: TCoffStringTable;

  fNumSymtableEntries: LongWord;

  fSymStorageClass: Byte;

  fOppositeEndianess: Boolean;

  procedure WriteEmptyCoffHeader();

  procedure WriteEmptySectionHeader(); virtual;

  procedure WriteResStringTable(); virtual;

  procedure WriteRawData();

  procedure WriteRelocations();

  procedure WriteCoffStringTable();

  function GetFixedCoffHeader; virtual;

  procedure FixCoffHeader();

  procedure FixSectionHeader(); virtual;

  function GetExtensions; override;

  function GetDescription; override;

  function PrescanNode(); virtual;

  procedure PrescanResourceTree; virtual;

  procedure Write(); override;

  procedure WriteSymbolTable(); virtual;

public

  constructor Create; override;

  destructor Destroy; override;

  property MachineType: TCoffMachineType; [rw]

  

The machine type of the object file

  property OppositeEndianess: Boolean; [rw]

end;

Inheritance

TCoffResourceWriter

  

COFF resource writer

|

TAbstractResourceWriter

  

Base abstract resource writer class

|

TObject

Description

This class provides a writer 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.

MachineType property can be used to set the machine type of the object file to generate.

See also

TCoffResourceWriter.MachineType

  

The machine type of the object file

TAbstractResourceWriter

  

Base abstract resource writer class

TCoffResourceWriter

  

COFF resource reader


Documentation generated on: Dec 22 2024