Subject Problem loading UDF-function
Author woely call
Hi,

I'm trying to use an UDF-function in my database but I
cannot acces it. Every time I try to I get the
following errorcode:

'invalid request BLR at offset 76 function TS is not
defined module name or entrypoint could not be found'

I'm currently running FB1.0. The function is a testing
dll written in Delphi (see bottom for code). When I
try to use a standard function from the IB_UDF.dll
the same error is given. I've placed in the 'IBCONFIG'
file the following line
EXTERNAL_FUNCTION_DIRECTORY "C:\PROGRAM
FILES\FIREBIRD\UDF" . The problem was not solved.

I've searched around here but could not find a simular
problem.

regards,

woely



code used for testing dll

library tst;
function ts(t: integer): integer; cdecl;
begin
result := t * 2;
end;
exports
ts;
{$R *.res}
begin
end.

code used for implementing in database

DECLARE EXTERNAL FUNCTION TS
INTEGER
RETURNS INTEGER
ENTRY_POINT 'ts' MODULE_NAME 'tst';




__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com