[fpc-pascal] PascalScript / FPC: parameters problems (need internals gurus I think)
Alexandre Leclerc
alexandre.leclerc at gmail.com
Tue Aug 8 20:56:14 CEST 2006
2006/8/8, Jonas Maebe <jonas.maebe at elis.ugent.be>:
>
> On 08 Aug 2006, at 20:39, Alexandre Leclerc wrote:
>
> > *Problem*
> > I'm exporting some classes (originally a TBitmap; now a custom class)
> > to the ROPS engine and then interacting with the class in the
> > scripting engine. Everything works, except for some functions that
> > behave very strange. They skip/duplicate the parameters and invert
> > parameters.
>
> Try declaring the methods as "stdcall" (although I'm not sure whether
> this works for methods).
This causes External SIGFPE. Seeing the call, I'm not sure this is the
problem. I must say that what I explaned here is also true (and doing
the same thing) with Bitmap.Canvas.Rectangle() method.
--
Alexandre Leclerc
More information about the fpc-pascal
mailing list