Subject | Re: [ib-support] REPOST: Memory management problems with UDF on Firebird |
---|---|
Author | Helen Borrie |
Post date | 2002-08-02T23:45:18Z |
At 10:52 PM 02-08-02 +0000, you wrote:
heLen
All for Open and Open for All
Firebird Open SQL Database · http://firebirdsql.org ·
http://users.tpg.com.au/helebor/
______________________________________________________________________
>I have a written a UDF in Delphi 3 which concatenates strings,Are you calling FREE_IT in your declaration of the UDF to the database?
>using PChars.
>However there seems to be problem with memory allocation.
>
>When I run the UDF sequentially, some of the results have
>an extra character on them. Further checking reveals that
>the extra characters are from the results of previous calls
>to the UDF whose results have those characters in that position.
>
>I am using the ib_util.pas include and ib_util.dll.
heLen
All for Open and Open for All
Firebird Open SQL Database · http://firebirdsql.org ·
http://users.tpg.com.au/helebor/
______________________________________________________________________