How to access UDF DLL in Firebird Embedded?

I tried to create UDF for Firebird. I was able to compile the DLL and register the UDF with the database, but I cannot run it. Each time I get an error:

invalid request BLR at offset 63. function [FUNCTION_NAME] is not defined. module name or entrypoint could not be found. 

I tried to delete the UDF DLL in the same folder as the application and in the same folder as the database, but in any case, it never loads it.

When I tried Googling for help, all the results that I got seemed to either decide to get it to work on the FB server by putting it in the UDF folder for your server (which is not applicable since I use FB Embedded) or with permission permissions on remove FB by editing the conf file (which is not applicable since I use FB Embedded).

So, how do I determine / configure the right place to host the UDF DLL if I use FB Embedded?

+4
source share
1 answer

I think by default Firebird expects the UDF DLLs to be located in a subdirectory (relative to the fbembed.dll file) named udf . You can configure the UDF paths through the firebird.conf file using the UdfAccess parameter. The conf file that comes with the installation explains how to use the parameter. Also, the README_embedded.txt file contains a good explanation of how the embedded server files should be placed.

+6
source

All Articles