Sign in to follow this  

debug and release

This topic is 4355 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Quote:
Original post by Kalasjniekof
There are hundreds of mistakes that can cause an acces violation. Please show us the offending code so we can see what is wrong.


I can not find which part is error.
It only give me 3 number : 0x0058b498 0xC0000005 and 0xcdcdcdcd
Debug mode work ,why release mode not work?

I remove optimization of release mode but not work.

Share this post


Link to post
Share on other sites
When building in release mode, set the build option to include the "pdb" file. This will allow you to debug a release mode app fairly well.

Also, the error suggests that you are not nulling one of your pointers.

Share this post


Link to post
Share on other sites
From Microsoft:
Quote:
0xCDCDCDCD is a debugging value that comes from the bowels of the C runtime library. When you allocate a block of memory in a debug build, it's initialized to this spurious value in the hope of catching bugs. 0xCDCDCDCD is non-NULL and is never a valid memory pointer.

Share this post


Link to post
Share on other sites

This topic is 4355 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this