Hello,
I've got an NT service that launches console applications. I'm tracking the pid for each child application. I'd like to query the system using the pid to see if the process is running normally. I'm using the GetProcessVersion() because it accepts a pid, but I think that this will always return without an error as long as the process appears to be running.
I'm sure that you've noticed that sometimes an application shows up in Task Manager, Applications with the Status of Not Responding. So, it seems that there is an api, but I'm not sure what it is.
Thanks in advance for any help or suggestions.
deb
I've got an NT service that launches console applications. I'm tracking the pid for each child application. I'd like to query the system using the pid to see if the process is running normally. I'm using the GetProcessVersion() because it accepts a pid, but I think that this will always return without an error as long as the process appears to be running.
I'm sure that you've noticed that sometimes an application shows up in Task Manager, Applications with the Status of Not Responding. So, it seems that there is an api, but I'm not sure what it is.
Thanks in advance for any help or suggestions.
deb