[fpc-pascal] Catching math exceptions in a DLL

OBones obones at free.fr
Thu May 24 11:59:24 CEST 2012

Jonas Maebe wrote:
> OBones wrote on Wed, 16 May 2012:
>> Using FPC, I'm writing a DLL that exports functions used by a given 
>> host process.
>> In order to protect the host process, it is mandatory that all 
>> exceptions are trapped in the exported function
> You are probably running into 
> http://bugs.freepascal.org/view.php?id=12974
Yes, looks like it indeed.
I'll experiment with the proposed solutions

More information about the fpc-pascal mailing list