<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 04/09/2012 13:24, Alexander Hofmann
wrote:<br>
</div>
<blockquote cite="mid:5045F314.9070105@new-h.de" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi there.<br>
<br>
This is a cross-post (cross-mail ?) to <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.lazarus.freepascal.org/index.php/topic,17978.0.html">http://www.lazarus.freepascal.org/index.php/topic,17978.0.html</a>
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's
ok.<br>
</blockquote>
As Vincent pointed out. FPC mailinglist.<br>
<br>
<blockquote cite="mid:5045F314.9070105@new-h.de" type="cite"> <br>
Interestingly, when I start debugging
<SomeClass>.Create(aOwner:TComponent)-Type of Constructors,
there is some difference in the Register values, depending on
whether the Constructor was called from "pure" FPC-Code or the
Script (at least so it seems):<br>
o Called from FPC: rcx: 0 (nil), rdx: Class Reference, r8: Value
of aOwner<br>
o Called from Script: rcx: Class Reference, rdx: 1 (!?), r8: Value
of aOwner (at least so it seems)<br>
<br>
Is there any difference in the calling convention on x64-Systems
between Delphi and Lazarus? I could only find the "standard"
information on Windows x64 calling conventions, without special
care of constructors, if there is any...<br>
<br>
</blockquote>
<br>
You will be able to get an answer about the calling convention fpc
uses (They should be standard)<br>
<br>
But you can then check yourself in x64.inc what PascalScript does.<br>
<br>
<br>
</body>
</html>