RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.LoadPackage Function

Loads a specified package.

Pascal
function LoadPackage(const Name: string): HMODULE; overload;
function LoadPackage(const Name: string; AValidatePackage: TValidatePackageProc): HMODULE; overload;
C++
HMODULE LoadPackage(const AnsiString Name);
HMODULE LoadPackage(const AnsiString Name, TValidatePackageProc AValidatePackage);

LoadPackage loads the package specified by the Name parameter, checks for duplicate units, and calls the initialization blocks of all units contained in the package. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!