Name

PackageInfoTable Type

Syntax

type
  PackageInfoTable = packed record
    UnitCount: Integer;
    UnitInfo : PUnitEntryTable;
  end;

Description

Every package has a PackageInfoTable record, which points to a list of unit entry table records, each of which points to the initialization and finalization section of that unit. Every unit contained in a package has a unit entry table. When Delphi loads or unloads a package, it uses the package information table to initialize or finalize the units in the package.

Delphi takes care of packages automatically. You rarely need to use the package information directly.

See Also

Finalization Keyword, GetPackageInfoTable Type, Initialization Keyword, Package Directive, PackageInfoTable Type, PUnitEntryTable Type, Unit Keyword, UnitEntryTable Type

Get Delphi in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.