UDF

98 views
Skip to first unread message

Tomasz Dubiel

unread,
Jul 22, 2023, 6:30:05 AM7/22/23
to firebird-devel
Hello.
I am testing how FB 5 works. For now I need to use UDF, so I set UdfAccess = Restrict UDF, I created subfolder UDF and put there my file. However, Firebird still complains:
"Invalid request BLR at offset 5
Function DIV is not defined
module name or entrypoint could not be found".
The latest snapshot 64bit tested on Windows 11.
What is wrong?
Best regards,
Tomasz.

Dimitry Sibiryakov

unread,
Jul 22, 2023, 6:31:27 AM7/22/23
to firebir...@googlegroups.com
Tomasz Dubiel wrote 22.07.2023 12:30:
> What is wrong?

Most likely you created the folder in a wrong place. Use Process Monitor to
check where the file was looked for.

--
WBR, SD.

Tomasz Dubiel

unread,
Jul 22, 2023, 6:32:57 AM7/22/23
to firebird-devel
I created this folder in Firebird installation folder of course. I will check.

Tomasz Dubiel

unread,
Jul 22, 2023, 6:43:43 AM7/22/23
to firebird-devel
OK, so I need to put there all UDFs as my file relies on other:
udf.png

Tomasz Dubiel

unread,
Jul 22, 2023, 6:45:45 AM7/22/23
to firebird-devel
Thanks, that was it.

liviuslivius

unread,
Jul 22, 2023, 11:50:56 AM7/22/23
to firebir...@googlegroups.com
Hi

You do not need div udf, in sql all integer divisions by integer use div. You must expliciyly cast it to float numer to get division with fraction.



Regards,
Karol Bieniaszewski


-------- Oryginalna wiadomość --------
Od: Tomasz Dubiel <tkdu...@gmail.com>
Data: 22.07.2023 13:30 (GMT+02:00)
Do: firebird-devel <firebir...@googlegroups.com>
Temat: [firebird-devel] UDF

--
You received this message because you are subscribed to the Google Groups "firebird-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebird-devel/a5ab72e6-f445-4a56-9057-58c081abdcc4n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages