First off, let me say that I am a bit of a n00b at C++, and don't know much about good coding practices.
So, I was going about my business writing my application in debug mode. I've been working on it 8 hours a day. It's been over a week since I tried to build release mode. When I tried to build for release, something goes crazy corrupts the memory.
Now, I have multiple threads going on. While I'm watching thread A lets say, thread B is waiting. Thread A finishes it's job, then when i come back to thread B the memory is all hosed up with garbage.

How do i tackle a problem like this? What is the best approach?
I have experience in the embedded world, and experience developing for the PC in the .NET world.....but this unmanaged C++ DLL thing is a entirely new can of worms for me.
In the embedded world, i can watch the stack and the heap. In Visual studios however, I don't believe I can do that. Are their any tools or plug-ins for visual studios?
I can show code if you want, but i do not know where to start.
Edited by crimsontears809739 - 10/4/12 at 12:39pm
So, I was going about my business writing my application in debug mode. I've been working on it 8 hours a day. It's been over a week since I tried to build release mode. When I tried to build for release, something goes crazy corrupts the memory.
Now, I have multiple threads going on. While I'm watching thread A lets say, thread B is waiting. Thread A finishes it's job, then when i come back to thread B the memory is all hosed up with garbage.
How do i tackle a problem like this? What is the best approach?
I have experience in the embedded world, and experience developing for the PC in the .NET world.....but this unmanaged C++ DLL thing is a entirely new can of worms for me.
In the embedded world, i can watch the stack and the heap. In Visual studios however, I don't believe I can do that. Are their any tools or plug-ins for visual studios?
I can show code if you want, but i do not know where to start.
Edited by crimsontears809739 - 10/4/12 at 12:39pm







