@DllFree

Parent Previous Next

@DllFree.

Frees a loaded DLL. Returns true if the DLL is unloaded. Otherwise returns false.


Syntax.


 @DllFree(Integer handle) : Boolean

 


Please note this function also returns true, if the DLL was previously unloaded.


Arguments:


Example:


 Integer dllHandle := 1;

 //.. assume this actually refers to a loaded DLL.


 Boolean unLoaded;

 unLoaded := @DllFree(dllHandle);

 //Now unLoaded == True;


 unLoaded := @DllFree(dllHandle);

 //Again unLoaded == True;

 //Doing it several times does not

 //raise an error.