Solved

Ungraceful Shutdown

Posted on 1998-09-30
2
266 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

707 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