VC++ 2005 to VC++ 2010 migration issue

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hello,
We want to migrate our solution from VC++ 2005 to VC++ 2010. The solution is composed by: 1 UI MFC project, 2 native libraries projects and 1 native DLL project.
We had converted our solution, changed boost needed DLL and libs, and recompiled the solution. But, we have bug (heap corruption) before hitting the first program instruction.
The bug is in dbheap.c (L1516) :
/*<br/>
* If this ASSERT fails, a bad pointer has been passed in. It may be<br/>
* totally bogus, or it may have been allocated from another heap.<br/>
* The pointer MUST come from the local heap.<br/>
*/<br/>
_ASSERTE(_CrtIsValidHeapPointer(pUserData));
Does anyone know how to solve this issue ??
Thanks !
Julien

View the full article
 
Back
Top