R
Rich
I have a simple, single threaded program in C++ that runs as Idle
priority.
The program creates some data which needs dumping to file if the
computer is shutdown or logged out.
At the moment there is almost no Win32 code in it (only a few lines to
do the idle priority class). What is the simplest way of
programatically detecting the shutdown so I can dump my data to file?
I would rather not put masses of Win32 code in there, is there
anything, more simple than the message-loop/windowproc method?
Cheers,
Rich.
priority.
The program creates some data which needs dumping to file if the
computer is shutdown or logged out.
At the moment there is almost no Win32 code in it (only a few lines to
do the idle priority class). What is the simplest way of
programatically detecting the shutdown so I can dump my data to file?
I would rather not put masses of Win32 code in there, is there
anything, more simple than the message-loop/windowproc method?
Cheers,
Rich.