System.SysUtils.LoadPackage
Delphi
function LoadPackage(const Name: string): HMODULE;
function LoadPackage(const Name: string; AValidatePackage: TValidatePackageProc): HMODULE;
C++
extern DELPHI_PACKAGE NativeUInt __fastcall LoadPackage(const System::UnicodeString Name)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
Loads a specified package.
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.