|
-
Aug 22nd, 2003, 11:46 AM
#1
Thread Starter
Fanatic Member
Detect if Process is 'Not Responding' [Almost RESOLVED]
Hey everyone,
I searched for how you would detect whether a certain process is Not Responding or not, but I didnt have any luck - sorry if it has been answered elsewhere though.
What the problem is, I have this application which needs to detect when a certain process is 'Not Responding'.
This process is called "Game.exe" so it needs to be exactly like that.
If it finds that it is 'Not Responding' how would I end it? A simple
SendMessage lWnd, WM_CLOSE, 0&, 0&
should work really, because I can still use the Window name as that doesnt change.
Thanks for any help! This program is really going to help me and my friends when its finished.
P.S. If this will end up being done with a loop, how much resources are we expecting to use up? It doesnt matter much at all, but I am just asking. (If there are problems at the end with lagging "Game.exe" at all, I can try and find a different solution) - thanks again
Last edited by LITHIA; Aug 28th, 2003 at 01:12 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|