Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
_CrtIsValidHeapPointer assert failure
I've created a simple Windows Forms Application in MSVS 2005:
- Use MFC in a Shared DLL
I inserted the 2nd include for as shown below:
// test1.cpp : main project file.#include
using namespace junk;
int main(array ^args)
// Enabling Windows XP visual effects before any controls are created
// Create the main window and run it
The debug build crashes with _CrtIsValidHeapPointer assertion. Releas build is ok. So far didn't have any success in finding out why this happens. I attached the project. Any help will be greatly appreciated. Thx.
0 · ·