Subject How to use UDF in Firebird??
Author mk_delphi
Hi all,
I am not able tu sue UDF in my firebird 1.0,
i try to use FreeUDFLib:

I declared the function I need like:

DECLARE EXTERNAL FUNCTION F_YEAR
DATE
RETURNS INTEGER BY VALUE
ENTRY_POINT 'Year'
MODULE_NAME 'c:\programmi\firebird\udf\FreeUDFLib.dll';

or without the path, but they want work;

calling this:
select f_year(data_ordine) from ordini_cli_a
i get:
invalid token.
invalid request BLR at offset 60.
function F_YEAR is not defined.
module name or entrypoint could not be found.

Can someone help me?
I copied FreeUDFLib.dll everywhere in my PC..
Best regards