Utility_LoadDLL()

Examples


The Utility_LoadDLL() function loads the specified DLL into memory. The DLL remains in memory until it is unloaded or the application is closed.

Syntax

Utility_LoadDLL(DLL_name)

Parameters

DLL_name – A string specifying the name of the DLL to load into memory. The DLL must be in the current directory, or in a directory included in the PATH variable for the system.

Return value

A long integer containing the handle to the DLL. You must save this value to use when unloading the DLL from memory.

Comments

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.


Documentation Feedback