Declaration:
unsigned long LoadLibrary(char lib_name[]);
Description
Loads the specified DLL by calling the LoadLibrary function of Windows API. After the loading, the functions from this DLL can be called with the CallLibraryFunction.
Returned value
What is returned by the LoadLibrary function of Windows API, that is, HINSTANCE of the loaded DLL or error code.
Example
unsigned long instance = LoadLibrary("EXTEND.DLL");
|