Frees the library that was loaded in memory by LoadWDL
. The memory is freed.
// Closing code of the first project window
UnloadWDL(hWnd) // Close the library
<Library Identifier>: Integer
Identifier of the library to unload, returned by LoadWDL.
- The main project library is always loaded and it cannot be unloaded.
- When a library is closed by UnloadWDL, the HFSQL files opened in the library are not automatically closed. In this case, any access to these HFSQL files will trigger the following error: "The xxx WDL was unloaded".
It is recommended to use HClose on open files of a library that is going to be unloaded.