Page 1 of 1

Zeos in Dll compiled with FPC

Posted: 23.11.2007, 18:29
by martinrame
I've compiled Zeos in a Dll using Lazarus and MSEide with the -Sd parameter (delphi compatibility) of FreePascal. I can compile and create a Dll, but when I try to load from a test application using LoadLibrary, the program returns this exception:

An unhandled exception occurred at $10009363 :
Exception : Unknown Run-Time error : 202
$10009363

If I compile the Dll using Delphi it works ok.

I think the problem is with Zeos since I can compile other (simplier) Dlls using FPC/Lazarus/MSEide without any problem

Leonardo.

Posted: 24.11.2007, 13:39
by martinrame
Resolved, the problem was the FPC version 2.2.1 included in my Lazarus 0.9.23, I upgraded to FPC 2.3.1 from SVN and it works ok now.

Thanks.