Click to See Complete Forum and Search --> : Api To Detect Whether The Windows System Is Hanged
nitinpost
Sep 27th, 2001, 03:02 AM
DOES ANYONE HAVE AN IDEA WHETHER A PROGRAM USING API CAN DETECT WHETHER THE A COMPUTER SYSTEM HAVING WINDOWS OS IS HANGED OR NOT
Matthew Gates
Sep 27th, 2001, 03:20 AM
hanged? :confused:
JoshT
Sep 27th, 2001, 06:30 AM
If Windows was truly "hanged" I wouldn't think any code would be able to run???
jpritchard
Sep 27th, 2001, 10:17 AM
Hi,
We wished to automatically check if our webservers had hung - The way we did this was to have a workstation running a little monitor program (the coder in question used java - but vb would have equally been applicable) - For us, we formatted web requests and waited for a response (or a slowing down). Ater passing a certain tollerance (or no reply) the monitor pc performed some alarm process.
This was to check for our IIS web services hanging (or the pc running them) - I guess it would be fairly easy to adapt this sort of thing for other uses...... etc.
If the pc in question is stand-alone then I agree with the others - there is no solution... sorry
cheers, ajp
Kings
Sep 27th, 2001, 02:45 PM
yeah, like they say, you can't check if your computer hangs unless you have 2 computers, like jpritchard said.
The only thing that would work when your computer hangs is the reset button
JoshT
Sep 27th, 2001, 02:58 PM
I supposed on a LAN you could try pinging another computer, but how could you tell if it were hung or just turned off?
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.