<div dir="ltr"><div class="gmail_default" style="font-size:large"><div><img src="cid:ii_k13zcm8z1" alt="image.png" width="562" height="95"><br></div></div><div class="gmail_default" style="font-size:large">Okay, getting better at FPC.EXE debugging... it appears, that 3.0.4 (or Windows) passing a Const Pointer is handled differently?</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">* The bottom grey line - shows RES = xD9020, however, the LapeOrdChar(show's it's 2nd parameter as 0x0 instead of xD9020). I was originally focusing on Params^[0] - but that is not the error - Result:Pointer is wrong address - even though the calling convention passed in the correct address. ** Again, this is only broken on my Windows compile. I use 2.6.4 on Linux 64bit, and 3.0.4 on Mac (which works) and on Windows. Same compile options (I compile via CLI).</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">O.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Sep 28, 2019 at 2:21 PM Ozz Nixon <<a href="mailto:ozznixon@gmail.com">ozznixon@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:large"><div><img src="cid:ii_k13cwh4c0" alt="image.png" width="427" height="180"><br></div><div><br></div><div>When I evaluate the code - it is perfect. However, when I run the code, it raises a SIGSEGV - Segmentation fault. Yet, the code runs perfectly on Linux 64bit machine, and Mac 32bit.</div></div></div>
</blockquote></div>