Re: [fpc-pascal] PascalScript / FPC: parameters problems (need internals gurus I think)

2006-08-18 Thread Alexandre Leclerc
2006/8/8, Alexandre Leclerc <[EMAIL PROTECTED]>: The actual procedure that is called. It does some asm processing and then calls the MyAllMethodsHandler2 that works with parameters. Maybe this is there that there is a problem? (This is all in the uPSRuntime.pas file) For the records, issue has

Re: [fpc-pascal] PascalScript / FPC: parameters problems (need internals gurus I think)

2006-08-08 Thread Alexandre Leclerc
The actual procedure that is called. It does some asm processing and then calls the MyAllMethodsHandler2 that works with parameters. Maybe this is there that there is a problem? (This is all in the uPSRuntime.pas file) procedure MyAllMethodsHandler; // On entry: // EAX = Self pointer //

Re: [fpc-pascal] PascalScript / FPC: parameters problems (need internals gurus I think)

2006-08-08 Thread Alexandre Leclerc
2006/8/8, Michael Van Canneyt <[EMAIL PROTECTED]>: The problem is more likely that all arguments are extended, which probably means that the stack is used differently. Are they pushed on the FPU stack ? Ok, I found this procedure that is used to handle parameters... Maybe this is the actual asm

Re: [fpc-pascal] PascalScript / FPC: parameters problems (need internals gurus I think)

2006-08-08 Thread Alexandre Leclerc
2006/8/8, Michael Van Canneyt <[EMAIL PROTECTED]>: On Tue, 8 Aug 2006, Jonas Maebe wrote: > > 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

Re: [fpc-pascal] PascalScript / FPC: parameters problems (need internals gurus I think)

2006-08-08 Thread Michael Van Canneyt
On Tue, 8 Aug 2006, Jonas Maebe wrote: > > 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, exce

Re: [fpc-pascal] PascalScript / FPC: parameters problems (need internals gurus I think)

2006-08-08 Thread Alexandre Leclerc
2006/8/8, Jonas Maebe <[EMAIL PROTECTED]>: 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

Re: [fpc-pascal] PascalScript / FPC: parameters problems (need internals gurus I think)

2006-08-08 Thread Jonas Maebe
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/dupl

[fpc-pascal] PascalScript / FPC: parameters problems (need internals gurus I think)

2006-08-08 Thread Alexandre Leclerc
Hi all, I hope some have knowledge of PascalScript because I'm having quite a weird and complex problem. I'll demonstrate it here very simply so if some have ideas... *Problem* I'm exporting some classes (originally a TBitmap; now a custom class) to the ROPS engine and then interacting with the