Am 04.01.2012 14:20, schrieb Sven Barth:
Am 04.01.2012 14:14, schrieb ik:
Another question, is it possible to use exitproc if SIGKILL is sent, or
there is nothing I can do at all ?
SIGKILL is supposed to be the "last resort" of the system (or the user).
If it would be possible for the app to react on SIGKILL it could do
things which would delay the termination of the app. SIGKILL kills the
process immediatly. Without excuses (like killing an application using
the Windows task manager).
Before I forget it: If you want to react on normal termination of the
program you should hook SIGTERM.
Regards,
Sven
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal