Subject UDF 64 bits
Author Sergio H. Gonzalez
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]