I have spent the good part of a day looking for how to get the PID when all I have is a Handle. There seems to be tons of examples how to get the Handle when all you have is the PID, but not the other way around.
So far my best lead is my own code from the Source Code Forum (ok, wo that will be the blind leading the blind, thank god I commented as much as I did). Unfortunately it uses all the "Undocumented" API's
So I wondered if there is a documented and more reliable way to get the PID of a program already running, and I did not start it, but I am looking for it.
Any ideas????
So far my best lead is my own code from the Source Code Forum (ok, wo that will be the blind leading the blind, thank god I commented as much as I did). Unfortunately it uses all the "Undocumented" API's
So I wondered if there is a documented and more reliable way to get the PID of a program already running, and I did not start it, but I am looking for it.
Any ideas????
Comment