Subject | Re: [firebird-support] UDF 64 bits |
---|---|
Author | Reinier Olislagers |
Post date | 2012-12-05T09:41:04Z |
On 5-12-2012 10:30, Piotr Olszewski wrote:
You could recompile your UDFs to 64 bit with the free FreePascal
compiler (www.freepascal.org and www.lazarus.freepascal.org).
The language is very similar to Delphi - it has a Delphi compatiblity
mode as well as a native Object Pascal dialect
By heart: you may need to add an
{$ifdef fpc}
{$mode delphi}
{$endif}
at the top of your code.
>AFAIU 2007 won't work because it does not have a 64 bit compiler.
>
> Hi again...
>
> One question about UDF on 64-bits Firebird server, do I need to recompile
> dll's with 64 - bits RAD?? or can I use compiled with 32 bits Delphi 2007
>
You could recompile your UDFs to 64 bit with the free FreePascal
compiler (www.freepascal.org and www.lazarus.freepascal.org).
The language is very similar to Delphi - it has a Delphi compatiblity
mode as well as a native Object Pascal dialect
By heart: you may need to add an
{$ifdef fpc}
{$mode delphi}
{$endif}
at the top of your code.