Subject | Re: [firebird-support] Problems with Delphi UDF |
---|---|
Author | Helen Borrie |
Post date | 2011-07-30T20:45Z |
At 08:30 AM 31/07/2011, ck1625 wrote:
./hb
>I try to create an udf written in delphi, but I always get the same error:It should be in the ..\UDF directory.
>
>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.
./hb