Subject Re: [firebird-support] embedded firebird and UDFs
Author Rolf & Sibylle Nussbaumer
Dimitrios Chr. Ioannidis wrote:
> I need some more info ... Maybe the Error Message ?

I'm running the application under Win98 (which might be a problem
according to previous posts (?)).

The error message is
ISC ERROR CODE: 335544343
ISC ERROR MESSAGE:
invalid request BLR at offset 218
function NOW is not defined
module name or entrypoint could not be found

function NOW is defined in the database as
DECLARE EXTERNAL FUNCTION NOW
RETURNS TIMESTAMP
ENTRY_POINT 'getExactTimestamp' MODULE_NAME 'fbudf.dll';

If I run the firebird server, and rename fbudf.dll in the firebird\udf
directory, the I get the same error message when executing a query like
"select Now() from rdb$database". Therefore, I assume the embedded
server is not locating the DLL files.

> For this to work you must copy also the ib_util.dll to the same
> directory of your exe or in your path ...

Copying the file ib_util.dll did not solve my problem

Rolf