Library with error in the Firebird
Original Reporter info from Mantis: LeonardoAG
-
Reporter name: Leonardo de Andrade Gorres
Original Reporter info from Mantis: LeonardoAG
- Reporter name: Leonardo de Andrade Gorres
Description:
I tried some times and of all the skills to make a library to be used in the Firebird as UDF... I made the library with a normal function and when I call it for a program made in Lazarus, the library functions normally and it returns me the waited result... But, in firebird it returns error...
In firebird I declare:
DECLARE EXTERNAL FUNCTION CONVERTEPV
CSTRING(50)
RETURNS CSTRING(50) CHARACTER SET ISO8859_1
ENTRY_POINT 'convertepv' MODULE_NAME 'mylib';
I execute the command:
select convertepv('10,10') from rdb$database;
It returns this error in firebird:
Engine Code : 335544343
Engine Message :
invalid request BLR at offset 63
function CONVERTEPV is not defined
module name or entrypoint could not be found
If compiled in the Delphi, the library functions normally...
I am sending the code of the library and the executable.
Sorry my poor english
Mantis conversion info:
- Mantis ID: 9066
- Version: 0.9.22
- Fixed in version: 2.2.0