[fpc-pascal] Detecting console close with red X on windows

wkitty42 at windstream.net wkitty42 at windstream.net
Sun May 19 14:37:55 CEST 2019


On 5/19/19 8:29 AM, Kevin Lyda wrote:
> At least on Unix systems I'd assume the answer was to write a signal
> handler: https://www.freepascal.org/docs-html/rtl/baseunix/fpsigaction.html


IME, that should always be done... especially in the *nix world... you never 
know where termination may come from and providing a clean exit is much 
preferable to an uncontrolled exit...

-- 
  NOTE: No off-list assistance is given without prior approval.
        *Please keep mailing list traffic on the list unless*
        *a signed and pre-paid contract is in effect with us.*



More information about the fpc-pascal mailing list