xHarbour Reference Documentation > Function Reference |
Loads an xHarbour DLL file into memory.
LibLoad( <cDllFile> ) --> pDLL
The function returns a pointer to the DLL file. If the DLL file cannot be loaded, or does not exist, the return value is a null pointer.
The LibLoad() function loads a DLL file created by xHarbour at runtime of an application into memory. All symbolic names of the functions residing in the DLL are added to the symbol table of the application. These functions can then be invoked via HB_LibDo() or by using the macro operator. Refer to function HB_LibDo() for an extensive example on the possibilities of invoking functions within a dynamically loaded DLL.
Note: function LoadLibrary() is available to load DLLs at runtime which are not created by xHarbour.
See also: | HB_LibDo(), LibFree(), LoadLibrary() |
Category: | DLL functions , xHarbour extensions |
Source: | vm\dynlibhb.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com