> is this still able to be done easily?

No difference I guess:
http://www.freepascal.org/docs-html/rtl/system/exitproc.html
However, this is better:
http://www.freepascal.org/docs-html/rtl/system/addexitproc.html

> does it work even if there's an untrapped exception?

Just try it



--
View this message in context: 
http://free-pascal-general.1045716.n5.nabble.com/exitproc-tp5719871p5719877.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to