Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / January 2007

Tip: Looking for answers? Try searching our database.

vc++ 2005 unhandled exception error: settings

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
farshid.roumi@gmail.com - 08 Jan 2007 08:59 GMT
I was able to solve the problem in vc++5 by changing the vc++ settings.
ButI can't find the same options in vc++ 2005. I have a lot of big
arrays!

"Unhandled exception at 0x0040c247 in jan7.exe: 0xC0000005: Access
violation reading location 0x00030000."
Bruno van Dooren [MVP VC++] - 08 Jan 2007 09:13 GMT
> I was able to solve the problem in vc++5 by changing the vc++ settings.
> ButI can't find the same options in vc++ 2005. I have a lot of big
> arrays!
>
> "Unhandled exception at 0x0040c247 in jan7.exe: 0xC0000005: Access
> violation reading location 0x00030000."

Hi,

Changing settings is not going to help you at all.
You have a programming error that causes your program to reference a memory
address that it should not reference. Possible you are indexing an array out
of bounds, or overflowing a buffer somewhere.

You might be able to mask this with some settings (e.g. debug builds
typically have more padding between variables etc) but you really want to
solve this instead of glossing over.

If you can reproduce this program, I suggest you use the debugger to track
down the root cause of the problem.

Signature

Kind regards,
   Bruno.
   bruno_nos_pam_van_dooren@hotmail.com
   Remove only "_nos_pam"


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.