On Tue, August 5, 2014 02:00, waldo kitty wrote:
>
> back in the [g]?olden days of TP6, i used to be able to set an exitproc
> procedure that would be executed any time my program exited for any
> reason...
> something like
>
>    exitproc := @myexitproc;
>
> is this still able to be done easily? does it work even if there's an
> untrapped
> exception?

Yes.

Yes, as long as the exception is handled (caught) by the RTL.

Tomas


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to