[DUG] How to find Access Violation in the Initilization of Project
David Moorhouse
David.Moorhouse at pegasus.org.nz
Mon Apr 10 08:30:56 NZST 2017
Looks like you're calling into some memory space your program does not control. That gives the error you are seeing.
Are you using strings to store char/bytes etc. Post D2009, strings are multi byte so anything that manipulates them and relies on single byte strings will blow up.
Cheers
D
David Moorhouse (BCom) | Principal Software Engineer - HealthOne
Pegasus Health (Charitable) Ltd
P: 03 353 0871 | W: www.pegasus.org.nz<http://www.pegasus.org.nz/>
E: david.moorhouse at pegasus.org.nz<mailto:david.moorhouse at pegasus.org.nz>
PO Box 741, Christchurch 8140
401 Madras St, Christchurch 8013
[cid:image003.jpg at 01CEE516.6F544D00]
From: delphi-bounces at listserver.123.net.nz [mailto:delphi-bounces at listserver.123.net.nz] On Behalf Of Ian Fear
Sent: Monday, 10 April 2017 6:56 a.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: [DUG] How to find Access Violation in the Initilization of Project
I am in the process of Moving a Project from D2007 to D XE10 berlin.
After some grief I have the Project Compiling in XE10.
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
On following it thru the CPU window it Happens at vcl.AxCtls or 4 lines later Tpicture.loadFileFormats
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
Any Hints or suggestions greatly appreciated
Thanks in advance
Regards
Ian
Ian Fear
B Agr Sc (Lincoln)
GDip InfSys(Massey)
Fear Consulting Ltd
405 Old Taupo Road
Rotorua
Home /work 07 347 6015
Mobile 027 474 2772
********************************************************************************
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.
Any views or opinions expressed in this email (unless otherwise stated) may not
represent those of Pegasus Health Ltd.
********************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20170409/76787b7d/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3614 bytes
Desc: image001.jpg
Url : http://listserver.123.net.nz/pipermail/delphi/attachments/20170409/76787b7d/attachment.jpg
More information about the Delphi
mailing list