Solved

Ungraceful Shutdown

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

Suggested Solutions

Title # Comments Views Activity
C Language combined operators 28 137
getting a fire fox page (view page source ) in c++ 6 47
How do I get Window Title of all opened process? 4 60
learn programming 8 94
When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
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…
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 user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

732 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