Subject Re: [firebird-support] Problems with Delphi UDF
Author Helen Borrie
At 08:30 AM 31/07/2011, ck1625 wrote:
>I try to create an udf written in delphi, but I always get the same error:
>
>invalid request BLR at offset 60 function TESTECHO is not defined module name or entrypoint could not be found
>
>I use Delphi 2010. The function is declared like this:
>
>function TESTECHO(AValue: Integer): Integer; cdecl; export;
>
>
>and in my database I declare it like this:
>
>DECLARE EXTERNAL FUNCTION TESTECHO
> INTEGER
> RETURNS INTEGER BY VALUE
> ENTRY_POINT 'TESTECHO' MODULE_NAME 'Rankings5Firebird';
>
>
>My server is on Windows: "WI-V6.3.0.26074 Firebird 2.5", 32bit version.
>
>The DLL file is in the fbserver.exe directory.

It should be in the ..\UDF directory.

./hb