Le 23 nov. 2013 à 21:36, Marnaud a écrit:

> Anyway, thank you! GetFirstProcess was the missing piece of the puzzle.

Sorry, but I'm not sure, I'm still having troubles.
When I call GetFirstProcess and check my ProcessMBS object, LastErrorCode is 
still -1 (like it was without GetFirstProcess) and all properties, except 
LaunchProcess, ProcessID and name, have a default value (nil, false, 0, etc.); 
Name, ProcessID and LaunchProcess have good values.
I need to obtain the path. So Path is nil and both WinFullProcessImagePath and 
WinProcessImagePath (albeit I'm not sure of their meaning) are empty strings. 
Subsequent processes, by calling GetNextProcess, have the same symptoms (so 
it's not a matter of the [system process] (first one) having no path).
Should getting process paths like this work on Win32?
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to