Hi,
Well, the subject line says it all: does anybody know how to intercept
the ctrl-alt-del key combo? My idea is this: when users press these keys
because an app hangs, i want to flush the filebuffers first so that
my files are ok/closed. Obviously, i can't intercept the reset key or
hard power off condition but anything is better then nothing.
O, and to all the smart ones out there suggesting i create an app that
doesn't hang itself, i'm well aware of that. My apps operate on a hardware
level so sometimes when hardware fails the app hangs, at which point i
want to save the log files so i can see what went wrong. Performing
a flush command after every log is not an option, that would make the
app too slow.
Thanks for anything on this.
Tom
------------------
[URL=http://www.DiyDataRecovery.nl]
Well, the subject line says it all: does anybody know how to intercept
the ctrl-alt-del key combo? My idea is this: when users press these keys
because an app hangs, i want to flush the filebuffers first so that
my files are ok/closed. Obviously, i can't intercept the reset key or
hard power off condition but anything is better then nothing.
O, and to all the smart ones out there suggesting i create an app that
doesn't hang itself, i'm well aware of that. My apps operate on a hardware
level so sometimes when hardware fails the app hangs, at which point i
want to save the log files so i can see what went wrong. Performing
a flush command after every log is not an option, that would make the
app too slow.
Thanks for anything on this.
Tom
------------------
[URL=http://www.DiyDataRecovery.nl]
Comment