DllLoad() / DllUnload() ?
Posted: Mon Jul 12, 2021 5:56 am
hi,
i can make DLL Call like this
under Xbase++ i can DllLoad() / DllUnload()
when have "many" DllCall i can use same Handle
so how can i DllLoad() under harbour
i can make DLL Call like this
Code: Select all
#xtranslate DllCall => HMG_CallDLL
lSuccess := DllCall( "ADVAPI32.DLL", DLL_OSAPI, "RegCloseKey", nKeyHandle )
Code: Select all
IF nDllHandle = 0
nDllHandle := DllLoad( "ADVAPI32.DLL" )
ENDIF
lSuccess := DllCall( nDllHandle, DLL_OSAPI, "RegCloseKey", nKeyHandle )
so how can i DllLoad() under harbour
