Subject | Problem with UDF |
---|---|
Author | markd_mms |
Post date | 2007-09-27T04:11:37Z |
I'm written a UDF for stripping leading 0's from strings and added it
to the database on my main server and the local copy on my computer.
On my computer I can use it in queries without a problem but when I
try using it on the server I get:
Invalid token.
Invalid request BLR at offset 70.
Function STRIPZERO is not defined.
Module name or entrypoint could not be found.
I've disconnected/reconnected and restarted the server but it made no
difference.
The UDF is declared as:
DECLARE EXTERNAL FUNCTION STRIPZERO
CSTRING(256) CHARACTER SET WIN1252
RETURNS CSTRING(256) CHARACTER SET WIN1252 FREE_IT
ENTRY_POINT 'StripLeadingZero' MODULE_NAME 'Project1';
I'm running 2.01.12855 under XP SP2 on both computers. firebird.conf
on both is identical.
Does anyone know what's going wrong?
TIA
to the database on my main server and the local copy on my computer.
On my computer I can use it in queries without a problem but when I
try using it on the server I get:
Invalid token.
Invalid request BLR at offset 70.
Function STRIPZERO is not defined.
Module name or entrypoint could not be found.
I've disconnected/reconnected and restarted the server but it made no
difference.
The UDF is declared as:
DECLARE EXTERNAL FUNCTION STRIPZERO
CSTRING(256) CHARACTER SET WIN1252
RETURNS CSTRING(256) CHARACTER SET WIN1252 FREE_IT
ENTRY_POINT 'StripLeadingZero' MODULE_NAME 'Project1';
I'm running 2.01.12855 under XP SP2 on both computers. firebird.conf
on both is identical.
Does anyone know what's going wrong?
TIA