Subject | external functions |
---|---|
Author | duilio_fo |
Post date | 2002-06-17T18:52:19Z |
I use FB v. WI-T1.0.0.679 on W95.
This is the first time I need to use an UDF.
Namely, I need to use the RAND function that I understand to be in
IB_UDF lib.
IB_UDF.DLL is in the E:\FIREBIRD\UDF directory, together with
FBUDF.DLL .
Using Marathon, I write:
DECLARE EXTERNAL FUNCTION rand
RETURNS DOUBLE PRECISION BY VALUE
ENTRY_POINT 'IB_UDF_rand' MODULE_NAME 'ib_udf';
commit
select rand from rdb$database
...and I get an error message stating that 'rand' is a column unknown
to FB.
Where is the mistake ?
TIA
Duilio Foschi
This is the first time I need to use an UDF.
Namely, I need to use the RAND function that I understand to be in
IB_UDF lib.
IB_UDF.DLL is in the E:\FIREBIRD\UDF directory, together with
FBUDF.DLL .
Using Marathon, I write:
DECLARE EXTERNAL FUNCTION rand
RETURNS DOUBLE PRECISION BY VALUE
ENTRY_POINT 'IB_UDF_rand' MODULE_NAME 'ib_udf';
commit
select rand from rdb$database
...and I get an error message stating that 'rand' is a column unknown
to FB.
Where is the mistake ?
TIA
Duilio Foschi