RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.InitializePackage Function

Validates and initializes a given package.

Pascal
procedure InitializePackage(Module: HMODULE); overload;
procedure InitializePackage(Module: HMODULE; AValidatePackage: TValidatePackageProc); overload;
C++
InitializePackage(HMODULE Module);
InitializePackage(HMODULE Module, TValidatePackageProc AValidatePackage);

SysUtils

InitializePackage checks for duplicate units in a package and calls the initialization blocks of the contained units.

Note: InitializePackage is called internally by the LoadPackage function.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!