Why does this not work and make an error?
Posted: Mon Sep 12, 2005 5:21 pm
ws_psapi_lib = 1
ws_psapi_h.l = OpenLibrary(ws_psapi_lib,"PSAPI.DLL")
*ws_EnumProcessModules = IsFunction(ws_psapi_h,"EnumProcessModules")
CloseLibrary(ws_psapi_lib)
Enter that code into your pb and run it.... I get a Windows runtime error. I am trying to use that .dll call (EnumProcessModules) as it is not one of the "built-in" calls in PB. I don't think that the PSAPI library is supported natively by PB yet, right?
best,
cal
ws_psapi_h.l = OpenLibrary(ws_psapi_lib,"PSAPI.DLL")
*ws_EnumProcessModules = IsFunction(ws_psapi_h,"EnumProcessModules")
CloseLibrary(ws_psapi_lib)
Enter that code into your pb and run it.... I get a Windows runtime error. I am trying to use that .dll call (EnumProcessModules) as it is not one of the "built-in" calls in PB. I don't think that the PSAPI library is supported natively by PB yet, right?
best,
cal