Solved

Ungraceful Shutdown

Posted on 1998-09-30
2
260 Views
Last Modified: 2010-04-01
if the computer is not shutdown properly. e.x user accidentally pulled the plug. Is there a message that my application can intercept. Working on Windows NT platform.
0
Comment
Question by:ibs22
  • 2
2 Comments
 
LVL 22

Accepted Solution

by:
nietod earned 50 total points
ID: 1174051
Not a chance!
The computer doesn't even "know" about this.  It can't detect it and if it did there would be no time to do anything about it.
0
 
LVL 22

Expert Comment

by:nietod
ID: 1174052
Now some UPSs (universal power supplies) have a feature where they will send information in on a com port when they are about to run out of back up power.  Most of these UPSs will have a program that you run that looks for this and that will shut down windows in the last minute or two before the UPS runs out of power.  I use such a feature like that for my novell server and it seems to work well.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question