Subject Re: [firebird-support] UDF 64 bits
Author Piotr Olszewski
Hello

Maybe the problem is that we have to re-compile our dll's as 64
bits.............

Piotr



Dnia 2012-12-04 15:56 Sergio H. Gonzalez napisaƂ(a):

>Hello... I think I've posted this question before, but now can't find
>the thread... Anyway I still have the problem...
>
>An UDF that worked fine in FB 32 bits, in 64 bits doesn't work
>
>This is the DDL:
>
>DECLARE EXTERNAL FUNCTION SG_DES
> DOUBLE PRECISION,
> CSTRING(50)
>RETURNS DOUBLE PRECISION BY VALUE
>ENTRY_POINT 'Descuentos' MODULE_NAME 'SGUDF';
>
>SGUDF.DLL is in C:\Program Files\Firebird\Firebird_2_5\UDF
>
>I get this message whe I try to execute the function:
>
>can't format message 13:896 -- message file C:\Windows\firebird.msg not
>found.
>invalid request BLR at offset 59.
>function SG_DES is not defined.
>module name or entrypoint could not be found.
>
>The DLL was rebuilded with Delphi XE2 for 64 bits...
>
>thanks!
>
>sergio
>
>
>
>
>[Non-text portions of this message have been removed]
>
>
>