Re: [fpc-pascal] Question on Calling Conventions (for: PascalScript on Win x64)

2012-09-06 Thread Alexander Hofmann
Am 06.09.2012 09:27, schrieb Carlo Kok: > Op 6-9-2012 02:43, Martin schreef: >> On 06/09/2012 01:28, Alexander Hofmann wrote: >>> You were right of course! I could have sweared I looked over the >>> differences of x86 and x64 numerous times, but.. .well. >>> >>> After some copy'n'paste it work's li

Re: [fpc-pascal] Question on Calling Conventions (for: PascalScript on Win x64)

2012-09-06 Thread Carlo Kok
Op 6-9-2012 02:43, Martin schreef: On 06/09/2012 01:28, Alexander Hofmann wrote: You were right of course! I could have sweared I looked over the differences of x86 and x64 numerous times, but.. .well. After some copy'n'paste it work's like a charm. Seems The only difference is in calling Virtu

Re: [fpc-pascal] Question on Calling Conventions (for: PascalScript on Win x64)

2012-09-05 Thread Martin
On 06/09/2012 01:28, Alexander Hofmann wrote: You were right of course! I could have sweared I looked over the differences of x86 and x64 numerous times, but.. .well. After some copy'n'paste it work's like a charm. Seems The only difference is in calling Virtual Constructors (it might not be the

Re: [fpc-pascal] Question on Calling Conventions (for: PascalScript on Win x64)

2012-09-05 Thread Alexander Hofmann
Am 05.09.2012 20:18, schrieb Florian Klämpfl: > Am 05.09.2012 18:27, schrieb Alexander Hofmann: > o Called from FPC: rcx: 0 (nil), rdx: Class Reference, r8: Value of > aOwner o Called from Script: rcx: Class Reference, rdx: 1 (!?), r8: > Value of aOwner (at least so it seems) > > You need to adapt

Re: [fpc-pascal] Question on Calling Conventions (for: PascalScript on Win x64)

2012-09-05 Thread Florian Klämpfl
Am 05.09.2012 18:27, schrieb Alexander Hofmann: > Hi there. > > This is a cross-post (cross-mail ?) to > http://www.lazarus.freepascal.org/index.php/topic,17978.0.html as I got > the hint there that it might be better to ask on the list instead of in > the forum, at least concerning the calling co

[fpc-pascal] Question on Calling Conventions (for: PascalScript on Win x64)

2012-09-05 Thread Alexander Hofmann
Hi there. This is a cross-post (cross-mail ?) to http://www.lazarus.freepascal.org/index.php/topic,17978.0.html as I got the hint there that it might be better to ask on the list instead of in the forum, at least concerning the calling conventions - but I'll ask the whole lot, anyway; I hope that'