Article View: borland.public.cppbuilder.upgrade
Article #106Re: F9(run): access violation at ....
From: Dennis Cote
Date: Thu, 24 Apr 2008 20:59
Date: Thu, 24 Apr 2008 20:59
29 lines
2130 bytes
2130 bytes
roladdon wrote: > I open CBuilder2007 > File->New->VCL Forms Application > F9 (run) At which point it starts executing your application's code. You can try putting a breakpoint at the beginning of your application's WinMain function and see if it gets that far. If it does, then you can step through the initialization until you pass the routine that triggers the error. If not, it may be that the error occurs during the initialization of globals or static members which happens before WinMain is called. > that's where it happens > > Sometimes it stops at the CPU window: > (always at a jmp $00....) > and pressing F9 another time will give the AV error What is on the call stack at that point? > > Sometimes it will go straight to the AV error When you say AV error, do you mean an AV exception that is caught by the debugger, or an AV error in the bds.exe that is caught by the OS? Dennis Cote
Technical Details
Message-ID:
<4810f4a5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4810b531$1@newsgroups.borland.com> <david.dean.no-7360C5.12241024042008@h10s143a100n47.user.nortelnetworks.com> <4810ed64$1@newsgroups.borland.com> <4810eeef$1@newsgroups.borland.com> <4810f121@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10529a,fdeecc09661cc3ec X-Google-Attributes: gid10529a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 24 Apr 2008 14:59:19 -0600 From: Dennis Cote <denniscote@gmail.com> User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.upgrade Subject: Re: F9(run): access violation at .... References: <4810b531$1@newsgroups.borland.com> <david.dean.no-7360C5.12241024042008@h10s143a100n47.user.nortelnetworks.com> <4810ed64$1@newsgroups.borland.com> <4810eeef$1@newsgroups.borland.com> <4810f121@newsgroups.borland.com> In-Reply-To: <4810f121@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 142.179.167.5 Message-ID: <4810f4a5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1209070757 142.179.167.5 (24 Apr 2008 13:59:17 -0700) Lines: 31 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail