|Subject||Re: RES: [firebird-support] Re: *** possible bug in FB 2.5.2 supperclassic with UDF ***|
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