Subject Re: [firebird-support] UDF help
Author ibrahim bulut
what is the difference with stdcall and cdecl
i have written an udf library with delphi 7 and i used stdcall routines

is there any difference with declaring the function to firebird.
i think cdecl is about freeing the memory



----- Original Message -----
From: "Dimitry Sibiryakov" <SD@...>
To: <firebird-support@yahoogroups.com>
Sent: Friday, February 11, 2005 9:40 AM
Subject: Re: [firebird-support] UDF help


>
> On 11 Feb 2005 at 7:57, Kjell Rilbe wrote:
>
>>type
>> PInteger = ^Integer;
>
> No need to declare PInteger. It is already declared somewhere in
> system modules.
>
>>function Add(var a, b: PInteger): Integer; stdcall;
>
> 1) Remove either 'var' or 'P'. Here you declare pointer to pointer.
> 2) Use cdecl, not stdcall.
> --
> SY, Dimitry Sibiryakov.
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>