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: [email protected]<mailto:[email protected]>
PO Box 741, Christchurch 8140
401 Madras St, Christchurch 8013

[cid:[email protected]]



From: [email protected] 
[mailto:[email protected]] 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.

********************************************************************************
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [email protected] with 
Subject: unsubscribe

Reply via email to