[fpc-pascal] How to trap exception raised within dll written in Delphi

Dennis dec12 at avidsoft.com.hk
Fri Nov 20 09:48:29 CET 2015

I have written a dll using Delphi 5.

I am using FPC2.6.4 to write a program which calls to functions in this dll.
I found that exceptions raised in this dll will directly kill my fpc 

Everything is done on Windows 7 64-bit but  coded in 32-bit

Is it possible to trap exception raised within dll?


More information about the fpc-pascal mailing list