Subject | Problem with UDF in FireBird 2.0 |
---|---|
Author | Marco Castroo |
Post date | 2007-03-16T19:47:33Z |
Hello,
I had some UDFs that runs in FB1.5. I'm trying to recompile them to
FB2.0 in Windows platform. I'm using Dev-C++. I compiled FBClient.dll
to FBClient.a. The DLL was compiled ok, but FireBird does not
recognize it correctly.
The function call is:
char* EXPORT fn_upper_c (unsigned char* s)
ARGLIST(unsigned char* s)
{
The error in log is:
MARCO_NB (Server) Fri Mar 16 15:48:50 2007
The user defined function: MCUPPER
referencing entrypoint: fn_upper_c
in module: mcudflib
caused the fatal exception: Access violation.
The code attempted to access a virtual
address without privilege to do so.
This exception will cause the Firebird server
to terminate abnormally.
Any help will be nice.
Thanks,
Marco Castro
I had some UDFs that runs in FB1.5. I'm trying to recompile them to
FB2.0 in Windows platform. I'm using Dev-C++. I compiled FBClient.dll
to FBClient.a. The DLL was compiled ok, but FireBird does not
recognize it correctly.
The function call is:
char* EXPORT fn_upper_c (unsigned char* s)
ARGLIST(unsigned char* s)
{
The error in log is:
MARCO_NB (Server) Fri Mar 16 15:48:50 2007
The user defined function: MCUPPER
referencing entrypoint: fn_upper_c
in module: mcudflib
caused the fatal exception: Access violation.
The code attempted to access a virtual
address without privilege to do so.
This exception will cause the Firebird server
to terminate abnormally.
Any help will be nice.
Thanks,
Marco Castro