Subject RE: [firebird-support] FB1.5 Abnormal Termination
Author Alberti Tamás
Hi Dmirty,

Thank you the advice, i use this way, cause i read it at ibphoenix.com

function malloc(Size: Integer): Pointer; cdecl; external 'msvcrt.dll';

On MSC way i mean the Microsoft C compiler's malloc routine, cause the
firebird was compiled by that, wasnt it?

Tamas



_____

From: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] On Behalf Of Dmitry Yemanov
Sent: Thursday, March 20, 2008 9:38 AM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] FB1.5 Abnormal Termination



Alberti Tam�s wrote:
>
> What i think is the udf dll-s (result with string parameters)
> written in delphi, but now i checked all the udf-s, and every function is
> declared as free_it in firebird and allocate memory in the MSC way in the
> dll.

What do you mean by the "MSC way"? The memory should be allocated using
ib_util_malloc(), everything else is wrong and may cause a crash.

Dmitry







[Non-text portions of this message have been removed]