Solved

Ungraceful Shutdown

Posted on 1998-09-30
2
258 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

803 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