Subject | Re: [firebird-support] UDF help |
---|---|
Author | Kjell Rilbe |
Post date | 2005-02-11T08:02:20Z |
Dimitry Sibiryakov wrote:
somewhere...
Thanks a bunch - it works now! :-)
Kjell
--
--------------------------------------
Kjell Rilbe
Adressmarknaden AM AB
E-post: kjell.rilbe@...
Telefon: 08-761 06 55
Mobil: 0733-44 24 64
> On 11 Feb 2005 at 7:57, Kjell Rilbe wrote:Ah, thanks. :-)
> No need to declare PInteger. It is already declared somewhere in
> system modules.
>>function Add(var a, b: PInteger): Integer; stdcall;Duh!! :-)
>
> 1) Remove either 'var' or 'P'. Here you declare pointer to pointer.
> 2) Use cdecl, not stdcall.Just found that one in an example at IBPhoenix. I'm sure I read stdcall
somewhere...
Thanks a bunch - it works now! :-)
Kjell
--
--------------------------------------
Kjell Rilbe
Adressmarknaden AM AB
E-post: kjell.rilbe@...
Telefon: 08-761 06 55
Mobil: 0733-44 24 64