On 05.09.2010 23:00, Bernd Kreuss wrote: > the unit seh.pas contains the handler. This handler is very simple, it > will handle all exceptions and always restore the stack to the state it > was when the handler was installed and use the address that was pushed > to the stack to continue execution.
There might be still something missing: Maybe the Handler should also pull the pushed ebp out of the stack (the same way it pulls the except address for the instruction pointer eip) and restore it or local variables might not work anymore after __expept. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal