Subject | Re: [firebird-support] UDF Problem in Firebird 2 |
---|---|
Author | Vlad Horsun |
Post date | 2006-12-30T19:46:32Z |
> I has a UDF with works fine in Firebird 1.5 and crash the firebird...
> server 2.0 with a access violation.
> char* st = (char*)malloc(1 + strlen(s) + countespecial(s));...
> The sql register code:You must use ib_util_malloc from ib_util.dll instead of RTL's malloc
> DECLARE EXTERNAL FUNCTION STRQUOTED
> CSTRING(256)
> RETURNS CSTRING(256) FREE_IT
Regards,
Vlad