Class TDLLLoader (unit DLLLoader) |
Inherits from
TComponent
constructor Create( AOwner: TComponent );
destructor Destroy;
procedure FreeAll;
function ProcAddress( const sDLL, sProc: string ): pointer;
********************************************
1) Check to see if the DLL is loaded
2) If not, load it, removing the last one loaded
if cached limit was exceeded.
procedure SetName( const sDLL: string );
********************************************
Set the DLL name.
property CacheSize : byte
property Path : string
FCache : byte;
FPath : string;
lstDLL : TStrings;
sDLLName : string;
constructor Create( AOwner: TComponent );
destructor Destroy;
procedure FreeAll;
function ProcAddress( const sDLL, sProc: string ): pointer;
********************************************
1) Check to see if the DLL is loaded
2) If not, load it, removing the last one loaded
if cached limit was exceeded.
3) Return the proc address.
procedure SetName( const sDLL: string );
********************************************
Set the DLL name.
property CacheSize : byte
property Path : string
FCache : byte;
FPath : string;
lstDLL : TStrings;
sDLLName : string;