Windows API Calls for Powerbuilder 5.0

¹®Á¦

FreeLibrary( )

ÇØ°á

This function releases a dll from active memory. This function works in conjunction with LoadLibraryA( ) function. There is no Powerbuilder equivalent. Warning: Unloading a dll that is being used will cause a GPF.

Global External Function:
SUBROUTINE FreeLibrary(ulong libhandle) LIBRARY "Kernel32.dll"

Script:
ulong modhandle // This would usually be an instance variable
modhandle = LoadLibraryA("<32 bit dll filename>") // This would usually be done in another
                                                                         // event.
FreeLibrary(modhandle)

 

ÂüÁ¶