Subject | Problems with Delphi UDF |
---|---|
Author | ck1625 |
Post date | 2011-07-30T20:30:45Z |
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.
Are there any special options I have to check when I compile my DLL with Delphi?
Or what else could be wrong?
cu Christian
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.
Are there any special options I have to check when I compile my DLL with Delphi?
Or what else could be wrong?
cu Christian