Hi !!
ich have create an application in Visual C# VS 2005, which observe the running processes.
I use the class Process and the attribue Responding of them.
Now, i created a Windows-Service and implemented this observe
functions. But the problem is, that the Responding attribut ist always
"true", although a process is chrashed.
Why is the Rresponding always "true" in a Windows-Service
What can i do
The only way out is an additional application (with a GUI) which is creating in the Windows-Service.
Please help me ....

Process-Responding in a Windows-Service
Michael Herman - Parallelspace
thanks for your answer.
The Process which is chrashed is an application with an UI.
In my application is the responding then false but in my Windows-Service it is still true !
xkx32
GLutz78
So, you're using the Process.Responding property of a process that isn't a serivce, from within a service
What user is the service running with Is this Windows XP
Henry_Yang
GameOver_1
it is Windows XP.
this code doesn't work in a Windows-Service because all Process-Responding are true. if an application hang, the responding is always true !
Process[] pp = Process.GetProcesses();
foreach (Process p in pp)
{
if (!p.Responding)
{
string f = p.ProcessName;
}
}