Does anyone know how to get the ProcessID of a running app?
Thanx,
Thorin
Printable View
Does anyone know how to get the ProcessID of a running app?
Thanx,
Thorin
Hi,
Because it is a running app, you can first get the window handle of that app With EnumWindows and then pass this handle to GetWindowThreadProcessId fn which returns the Thread & Process ids associated with that window.
If the running app has no window, then i dont know ?!?!
Ravi Kiran