Re: [fpc-pascal] HookSignal, "halt", and unhandled exceptions

2010-09-10 Thread Jonas Maebe
On 10 Sep 2010, at 18:58, Seth Grover wrote: > It seems the cause of this is that halt, which calls InternalExit and > System_exit, which in turn calls haltproc, does not actually halt the > program in the case of a library. Instead, haltproc for the library > just calls InternalExit again and re

[fpc-pascal] HookSignal, "halt", and unhandled exceptions

2010-09-10 Thread Seth Grover
Greetings! An interesting problem I've run into: Under Linux, I have a small example program written in C (we'll call it cprog) which uses a FPC-compiled shared object library (libfpcso1.so) inside which I want to catch access violations in try/except blocks. I don't care about access violations i