in reply to Applications running status in Windows Task Manager
The Not Responding status is attributed to a process when it stops processing it's message queue for a period of 5 seconds. You can determine this situation using SendMessageTimeout() with the flag SMTO_ABORTIFHUNG.
You will have to obtain the hwnd for the process you wish to monitor. Alternatively, use a thread to do the monitoring and use NULL for the hwnd. You'll need to use Win32::API or Inline::C to call these apis.
|
|---|