[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'dynlibs' (#rtl)

TLibSymbol

Library symbol description

Declaration

Source position: dynlibs.pas line 69

type TLibSymbol = record

  pvar: PPointer;

  

Location where to store the symbol address.

  name: String;

  

Name of the symbol to be loaded.

  weak: Boolean;

  

False to report an error if the symbol is not found.

end;

Description

TLibSymbol describes a symbol address (Name) to be loaded from a library, and the location to write the address (usually a procedural type variable). The address of the library symbol will be written to the location pointed to by pvar. The weak field signals whether the InitializeLibrary should report an error if the symbol is not found. Set to True means not to report an error, False will cause an error to be reported.

See also

TLibHandler

  

Library initialization descriptor

InitializeLibrary

  

Load a library and initialize a set of symbols


Documentation generated on: Oct 02 2010