Click here to Skip to main content
15,885,537 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++/CLI Pin
Sarath C29-May-06 3:30
Sarath C29-May-06 3:30 
GeneralRe: C++/CLI Pin
toxcct29-May-06 3:33
toxcct29-May-06 3:33 
QuestionHow to write the current status in some file when system shuts down with Electricity failure Pin
zahid_ash29-May-06 1:53
zahid_ash29-May-06 1:53 
AnswerRe: How to write the current status in some file when system shuts down with Electricity failure Pin
Nibu babu thomas29-May-06 2:06
Nibu babu thomas29-May-06 2:06 
AnswerRe: How to write the current status in some file when system shuts down with Electricity failure Pin
Eytukan29-May-06 2:07
Eytukan29-May-06 2:07 
GeneralRe: How to write the current status in some file when system shuts down with Electricity failure Pin
zahid_ash29-May-06 2:23
zahid_ash29-May-06 2:23 
AnswerRe: How to write the current status in some file when system shuts down with Electricity failure Pin
Mahesh Kulkarni29-May-06 2:27
Mahesh Kulkarni29-May-06 2:27 
GeneralRe: How to write the current status in some file when system shuts down with Electricity failure Pin
Eytukan29-May-06 2:32
Eytukan29-May-06 2:32 
As Nimbu has said, QueryEndSession is the only way .. that too when the system is not being shut down abruptly. But if you still want to do, do one thing, write the staus in a remote computer.(i.e a Client machine), which gets data(status) from the server(the electrically-downed machine), now atleast you can write, *when* the system actually went down.
like...
<br />
09:40:43-29/6/05 - Status X<br />
09:41:23-29/6/05 - Status Y<br />
(Now the server is down abrubtly)<br />
09:42:23-29/6/05 - Server Down, [Here the client will still be alive to say that he's down]<br />

will this work for you?




<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--



[My Current Status]

GeneralRe: How to write the current status in some file when system shuts down with Electricity failure Pin
Trollslayer29-May-06 3:42
mentorTrollslayer29-May-06 3:42 
GeneralRe: How to write the current status in some file when system shuts down with Electricity failure Pin
Eytukan29-May-06 6:20
Eytukan29-May-06 6:20 
GeneralRe: How to write the current status in some file when system shuts down with Electricity failure Pin
Trollslayer29-May-06 8:11
mentorTrollslayer29-May-06 8:11 
AnswerRe: How to write the current status in some file when system shuts down with Electricity failure Pin
Sarath C29-May-06 2:38
Sarath C29-May-06 2:38 
GeneralRe: How to write the current status in some file when system shuts down with Electricity failure Pin
Sebastian Schneider29-May-06 4:23
Sebastian Schneider29-May-06 4:23 
Questionadding Compressed HTML help with the application Pin
prashant.madhav29-May-06 1:46
prashant.madhav29-May-06 1:46 
AnswerRe: adding Compressed HTML help with the application Pin
Laxman Auti29-May-06 2:08
Laxman Auti29-May-06 2:08 
QuestionCall back function using child Thread Pin
Arun Tayal29-May-06 1:16
Arun Tayal29-May-06 1:16 
AnswerRe: Call back function using child Thread Pin
Sarath C29-May-06 1:30
Sarath C29-May-06 1:30 
GeneralRe: Call back function using child Thread Pin
Arun Tayal29-May-06 1:38
Arun Tayal29-May-06 1:38 
QuestionWhere i can find wrapper class Pin
Immunity1829-May-06 0:54
Immunity1829-May-06 0:54 
AnswerRe: Where i can find wrapper class Pin
toxcct29-May-06 0:55
toxcct29-May-06 0:55 
GeneralRe: Where i can find wrapper class [modified] Pin
Immunity1829-May-06 0:59
Immunity1829-May-06 0:59 
GeneralRe: Where i can find wrapper class Pin
ThatsAlok30-May-06 1:24
ThatsAlok30-May-06 1:24 
AnswerRe: Where i can find wrapper class Pin
Eytukan29-May-06 1:03
Eytukan29-May-06 1:03 
GeneralRe: Where i can find wrapper class Pin
Immunity1829-May-06 1:04
Immunity1829-May-06 1:04 
GeneralRe: Where i can find wrapper class Pin
Eytukan29-May-06 1:07
Eytukan29-May-06 1:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.