vc++ 2005 unhandled exception error: settings

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."
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top