R: Re: [fpc-pascal] Mac osx callback functions parameters: wrong values in 386 mode.

2010-09-07 Thread fpanas...@tiscali.it
Thank you very much for your help. Regards Francesco Messaggio originale Da: jonas.ma...@elis.ugent.be Data: 06/09/2010 18.13 A: "fpanas...@tiscali.it", "FPC-Pascal users discussions" Ogg: Re: [fpc-pascal] Mac osx callback functions parameters: wrong values in 3

Re: [fpc-pascal] Mac osx callback functions parameters: wrong values in 386 mode.

2010-09-06 Thread Jonas Maebe
On 06 Sep 2010, at 17:21, fpanas...@tiscali.it wrote: > Using control callback function with a control (a button) apparently > results in wrong > parameter values when compiling to 386 (values are correct compiling > to ppc). The default calling convention on non-i386 platforms is mostly the

[fpc-pascal] Mac osx callback functions parameters: wrong values in 386 mode.

2010-09-06 Thread fpanas...@tiscali.it
Using control callback function with a control (a button) apparently results in wrong parameter values when compiling to 386 (values are correct compiling to ppc). The attached case refers to a callback procedure myActionProc (lControlRef: ControlRef; PartCode: ControlPartCode) applied to a pu