March 2000
Intermediate to advanced
576 pages
18h 13m
English
GetPackageInfoTable Type
type GetPackageInfoTable = function: PackageInfo;
Every package exports a function named
@GetPackageInfoTable. The function’s type is
GetPackageInfoTable. This function returns a
pointer to the package’s info table, which contains pointers to
the initialization and finalization sections for all the units in the
package. When Delphi loads a package, it calls
@GetPackageInfoTable so it can initialize all the
units in the package.
Most programmers never need to concern themselves with this level of detail. Delphi handles all this automatically.
| Finalization Keyword, Initialization Keyword, Package Directive, PackageInfo Type, PackageInfoTable Type, PUnitEntryTable Type, UnitEntryTable Type |
Read now
Unlock full access