<!DOCTYPE html>
<html><head>
    <meta charset="UTF-8">
</head><body><p>will definitely check this when I get a chance. It is a possible candidate. I have taken over the project recently and haven checked for that <br></p><p>thanks<br></p><p>Ian<br></p><blockquote type="cite">On 10 April 2017 at 08:30 David Moorhouse &#60;David.Moorhouse@pegasus.org.nz&#62; wrote:<br><br><div class="ox-39d311e2c8-WordSection1"><p class="ox-39d311e2c8-MsoNormal"><span style="color: rgb(31, 73, 125);">Looks like you&#8217;re calling into some memory space your program does not control. That gives the error you are seeing.</span></p><p class="ox-39d311e2c8-MsoNormal"><span style="color: rgb(31, 73, 125);">&#160;</span></p><p class="ox-39d311e2c8-MsoNormal"><span style="color: rgb(31, 73, 125);">Are you using strings to store char/bytes etc.&#160; Post D2009, strings are multi byte so anything that manipulates them and relies on single byte strings will blow up.</span></p><p class="ox-39d311e2c8-MsoNormal"><span style="color: rgb(31, 73, 125);">&#160;</span></p><p class="ox-39d311e2c8-MsoNormal"><span style="color: rgb(31, 73, 125);">Cheers</span></p><p class="ox-39d311e2c8-MsoNormal"><span style="color: rgb(31, 73, 125);">&#160;</span></p><p class="ox-39d311e2c8-MsoNormal"><span style="color: rgb(31, 73, 125);">D</span></p><p class="ox-39d311e2c8-MsoNormal"><span style="color: rgb(31, 73, 125);">&#160;</span></p><div><table class="ox-39d311e2c8-MsoNormalTable mce-item-table" style="border-collapse: collapse;" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td width="357" valign="top" style="padding: 0cm 5.4pt; width: 267.65pt;"><p class="ox-39d311e2c8-MsoNormal"><strong><span style="color: rgb(71, 103, 143); font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; font-size: 10pt;">David Moorhouse (BCom)</span></strong><span style="color: rgb(71, 103, 143); font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; font-size: 10pt;"> | <strong>Principal Software Engineer - HealthOne</strong><br> Pegasus Health (Charitable)&#160;Ltd </span></p><p class="ox-39d311e2c8-MsoNormal"><span style="color: rgb(71, 103, 143); font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; font-size: 10pt;">P: 03 353 0871 |&#160;&#160; W: &#160;</span><span style="color: rgb(31, 73, 125);"><a href="http://www.pegasus.org.nz/"><span style="color: rgb(71, 103, 143); font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; font-size: 10pt;">www.pegasus.org.nz</span></a></span><span style="color: rgb(71, 103, 143); font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; font-size: 10pt;">&#160;<br> E: </span><span style="color: rgb(31, 73, 125); font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; font-size: 10pt;"><a href="mailto:david.moorhouse@pegasus.org.nz">david.moorhouse@pegasus.org.nz</a></span><u><span style="color: rgb(71, 103, 143); font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; font-size: 10pt;"><br> </span></u><span style="color: rgb(71, 103, 143); font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; font-size: 10pt;">PO Box 741, Christchurch 8140</span></p><p class="ox-39d311e2c8-MsoNormal"><span style="color: rgb(71, 103, 143); font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; font-size: 10pt;">401 Madras St, Christchurch 8013</span></p></td><td width="259" valign="top" style="padding: 0cm 5.4pt; width: 194.45pt;"><p class="ox-39d311e2c8-MsoNormal"><span style="color: rgb(31, 73, 125);"><img width="240" height="76" id="ox-39d311e2c8-Picture_x0020_1" style="width: 240px; height: 76px;" alt="cid:image003.jpg@01CEE516.6F544D00" src="cid:image001.jpg@01D2B1D4.C619FA20" border="0"></span></p></td></tr></tbody></table><p class="ox-39d311e2c8-MsoNormal"><span style="color: rgb(31, 73, 125);">&#160;</span></p></div><p class="ox-39d311e2c8-MsoNormal"><span style="color: rgb(31, 73, 125);">&#160;</span></p><div><div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) currentColor currentColor; padding: 3pt 0cm 0cm;"><p class="ox-39d311e2c8-MsoNormal"><strong><span style="font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;; font-size: 10pt;">From:</span></strong><span style="font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;; font-size: 10pt;"> delphi-bounces@listserver.123.net.nz [mailto:delphi-bounces@listserver.123.net.nz] <strong>On Behalf Of </strong>Ian Fear<br> <strong>Sent:</strong> Monday, 10 April 2017 6:56 a.m.<br> <strong>To:</strong> &#39;NZ Borland Developers Group - Delphi List&#39;<br> <strong>Subject:</strong> [DUG] How to find Access Violation in the Initilization of Project</span></p></div></div><p class="ox-39d311e2c8-MsoNormal">&#160;</p><p class="ox-39d311e2c8-MsoNormal">I am in the process of Moving a Project from D2007 to D XE10 berlin.</p><p class="ox-39d311e2c8-MsoNormal">After some grief I have the Project Compiling in XE10.</p><p class="ox-39d311e2c8-MsoNormal">When the project loads I Get a $C0000005 access violation in the Projects Initialization section before I get to any breakpoints on main form Create etc</p><p class="ox-39d311e2c8-MsoNormal">&#160;</p><p class="ox-39d311e2c8-MsoNormal">On following it thru the CPU window it Happens at vcl.AxCtls &#160;or&#160; 4 lines later Tpicture.loadFileFormats</p><p class="ox-39d311e2c8-MsoNormal">Would appreciate any hints on how to track this down. It May be trying to call in a FMX unit but cant figure out how to track it Down</p><p class="ox-39d311e2c8-MsoNormal">&#160;</p><p class="ox-39d311e2c8-MsoNormal">Any Hints or suggestions greatly appreciated</p><p class="ox-39d311e2c8-MsoNormal">&#160;</p><p class="ox-39d311e2c8-MsoNormal">Thanks in advance</p><p class="ox-39d311e2c8-MsoNormal">Regards</p><p class="ox-39d311e2c8-MsoNormal">Ian</p><p class="ox-39d311e2c8-MsoNormal">&#160;</p><p class="ox-39d311e2c8-MsoNormal">Ian Fear</p><p class="ox-39d311e2c8-MsoNormal">B Agr Sc (Lincoln)</p><p class="ox-39d311e2c8-MsoNormal">GDip InfSys(Massey)</p><p class="ox-39d311e2c8-MsoNormal">&#160;</p><p class="ox-39d311e2c8-MsoNormal">Fear Consulting Ltd</p><p class="ox-39d311e2c8-MsoNormal">405 Old Taupo Road</p><p class="ox-39d311e2c8-MsoNormal">Rotorua</p><p class="ox-39d311e2c8-MsoNormal">Home /work 07 347 6015</p><p class="ox-39d311e2c8-MsoNormal">Mobile 027 474 2772</p><p class="ox-39d311e2c8-MsoNormal">&#160;</p></div><p><span style="color: rgb(71, 103, 143); font-family: Arial; font-size: small;">*****************************************************</span></p><p><span style="color: rgb(71, 103, 143); font-family: Arial; font-size: small;">This email or attachment(s) may contain confidential or legally privileged information intended for the sole use of the addressee(s). Any use, redistribution, disclosure, or reproduction of this message, except as intended, is prohibited. If you received this email in error, please notify the sender and erase all copies of the message, including any attachments.</span></p><p><span style="color: rgb(71, 103, 143); font-family: Arial; font-size: small;">Any views or opinions expressed in this email (unless otherwise stated) may not represent those of Pegasus Health Ltd.</span></p><p><span style="color: rgb(71, 103, 143); font-family: Arial; font-size: small;">**********************************************************</span></p></blockquote><p><br>&#160;</p><blockquote type="cite">_______________________________________________<br>NZ Borland Developers Group - Delphi mailing list<br>Post: delphi@listserver.123.net.nz<br>Admin: http://delphi.org.nz/mailman/listinfo/delphi<br>Unsubscribe: send an email to delphi-request@listserver.123.net.nz with Subject: unsubscribe</blockquote><p><br></p><p class="io-ox-signature">Ian Fear Fear Consulting Ltd 1427 Te Kopia Rd RD 1 Rotorua ah 07 3332 548 cell 027 4742 772</p></body></html>