[fpc-pascal]shutting down win9x
kanzelsberger at rekt.umb.sk
Thu Jul 12 10:09:18 CEST 2001
When Windows shutsdown by ExitWindows() or by ExitWindowsEx() it's send
CTRL_SHUTDOWN_EVENT messages to processes... as far I remember, you should
refer to Win32 SDK
I think you should write some small process monitoring this message and then
quickly execute anything you want...
regards, Pavel Kanzelsberger
From: Lee, John [mailto:LeeJ at logica.com]
Sent: Wednesday, July 11, 2001 9:15 PM
To: 'fpc-pascal at deadlock.et.tudelft.nl'
Subject: [fpc-pascal]shutting down win9x
Is it possible automatically to run a fpc (or other) program when one clicks
on the Start/Shut Down menu on the win9x desktop, before windoze start its
shutdown sequence? How?
Does windoze look somewhere for a bat file called shutdown.bat ot whatever?
Where? TIA for any info - think I should probably know this!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal