Subject Re: [firebird-support] UDF help
Author Dimitry Sibiryakov
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.