Code: Select all
hMod = GetModuleHandle_("Kernel32.dll")
Debug hMod
*p = GetProcAddress_(hMod, "GetCurrentProcessId")
Debug *p ;<---------- 0
If OpenLibrary(0, "Kernel32.dll")
Debug GetFunction(0, "GetCurrentProcessId")
EndIf
ascii mode.;2088763392
;0
;2088802592
;2088763392
;2088802592
;2088802592