[DUG] How to find Access Violation in the Initilization of Project

Todd Martin todd.martin.nz at gmail.com
Mon Apr 10 10:09:38 NZST 2017


Hi Ian

Search through all the files in your project and look for the
*initialization* keyword. Put a break point wherever you find code. Then
run the application and see where it dies.

On 10 Apr 2017 6:56 a.m., "Ian Fear" <I_J_Fear at xtra.co.nz> wrote:

> 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
>
>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at listserver.123.net.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
> Subject: unsubscribe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20170410/91a05b4d/attachment.html 


More information about the Delphi mailing list