Subject | Re: [firebird-support] UDF |
---|---|
Author | Walter Neumann |
Post date | 2003-08-20T16:11:04Z |
Hallo Firebird Gurus,
trying out the different possibilities I find, that Firebird created the
directory UDF, but search the UDFs in the directory udf (Linux is
case-sensitive!). So it could not find the library. After declaring the path
in isc_config I can work with the ib_udf, but still not with my own
functions.
It seems to me, that it is a question of the right entrypoint. In the library
the functions are stored with the unit name and the object name and the
function name. But what sign should be used as deliminiter? Reading the
library with an editor I can see the @ sign. But that does not work.
Has anyone experiance with a Kylix/Delphi library?
Thank you for your help.
Walter Neumann
Am Dienstag, 19. August 2003 21:22 schrieb Walter Neumann:
trying out the different possibilities I find, that Firebird created the
directory UDF, but search the UDFs in the directory udf (Linux is
case-sensitive!). So it could not find the library. After declaring the path
in isc_config I can work with the ib_udf, but still not with my own
functions.
It seems to me, that it is a question of the right entrypoint. In the library
the functions are stored with the unit name and the object name and the
function name. But what sign should be used as deliminiter? Reading the
library with an editor I can see the @ sign. But that does not work.
Has anyone experiance with a Kylix/Delphi library?
Thank you for your help.
Walter Neumann
Am Dienstag, 19. August 2003 21:22 schrieb Walter Neumann:
> Hallo,
>
> I try to use first time UDF's. The functions are written in Kylix (Delphi)
> and built a library. The library is in the FB home/UDF directory. The
> declaration seems to be ok. Does Firebird at this time verify the
> declaration? Calling the UDF in a SQL statement I recieve the error
> message:
> 'invalid request BLR at offset 247. Function STAATIMPO is not defined,
> module name or entrypoint could not be found.'
> I can see in the table RDB$FUNCTIONS and in the RDB$FUNCTIONS_ARGUMENTS the
> declared UDF. The Firebird version is 1.0 SS for Linux.
> The function works in the delphi envirement properly. Is it possible at
> all, to write functions for Firebird in delphi?
> Thank you for any advice.