Subject | Re: RES: [firebird-support] Re: *** possible bug in FB 2.5.2 supperclassic with UDF *** |
---|---|
Author | Tim Ward |
Post date | 2013-11-28T12:09:11Z |
On 28/11/2013 12:50, Fabiano -
Desenvolvimento SCI wrote:
I was imagining something along those lines before I'd seen the code and knowing nothing about Delphi ... but having seen similar sounding problems elsewhere ...
I read somewhere that you must include “Threads” in your uses clause to ensure multithread memory allocation!
Google for it (USD, DELPHI, FIREBIRD, THREAD, USES).
MAYBE your random problem is when 2 concurrent users uses your UDF function and try to allocate/dispose memory.
-- Tim Ward