may be i'm wrong, but i think you just have to use following kernelobject property:
Code: Select all
var NeededProcessID: Cardinal;
...
NeededProcessID := Process( 'notepad.exe').ID;
bye!
Jay
Code: Select all
var NeededProcessID: Cardinal;
...
NeededProcessID := Process( 'notepad.exe').ID;