The Utility_UnloadDLL() function removes the specified DLL from memory.
Utility_UnloadDLL(handle)
• handle – A long integer that is the handle of the DLL to unload. This is the value that was returned from the Utility_LoadDLL() function.
None
You will use the Utility_LoadDLL() function when a DLL must maintain state information between calls. Use this function to load the DLL into memory, make the necessary calls, and then use the Utility_UnloadDLL() function to remove the DLL from memory.