xHarbour Reference Documentation > Function Reference |
Releases a dynamically loaded external DLL from memory.
FreeLibrary( <nDllHandle> ) --> lSuccess
The function returns a logical value inidcating a successful operation.
Function FreeLibrary() releases a DLL previously loaded with LoadLibrary() from memory. Internally, the function decrements the load counter of the DLL with the handle <nDllHandle> to signal the operating system that the DLL is no longer required by the xHarbour application. Whether or not the DLL is actually removed from memory is controlled by the operating system, since the same DLL could be in use by multiple applications.
See also: | DllCall(), LibFree(), LoadLibrary() |
Category: | DLL functions , xHarbour extensions |
Source: | rtl\dllcall.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com