[fpc-pascal]FreePascal and InterBase/Firebird problem under Windows

Pierre Muller pierre at freepascal.org
Mon Sep 2 15:46:56 CEST 2002

At 15:31 02/09/2002 , Jilani Khaldi a écrit:
>Hi all,
>under Linux the FreePascal/InterBase60 example works fine but under Windows it gives me this error:
>Connecting to testdb.gdb: OK.
>Starting Transaction : OK.
>Allocating statement : OK.
>Runtime error 201 at 0x0040141D
>   0x0040141D
>   0x00401A49

This is a Range Check error
that you have in your program because you use -Cr option
(might be in your config file).
try to use -gl to recompile both your program
and the Interbase packages
this will add line info 
in the backtrace.
It could be a simple longint to dword conversion

>I have tried to modify something in the source code but I couldn't solve it. Some help is needed.

More information about the fpc-pascal mailing list