[Overview][Constants][Types][Procedures and functions][Index] |
Library symbol description
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; |
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.
|
Library initialization descriptor |
|
|
Load a library and initialize a set of symbols |