vc++ 2005 unhandled exception error: settings

  • Thread starter Thread starter farshid.roumi
  • Start date Start date
F

farshid.roumi

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."
 
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.
 
Back
Top