This is interesting, I am moving a vc++ project to VS 2005. When i run it in debug mode i receive this error:
---------------------------Microsoft Visual C++ Debug Library---------------------------Debug Assertion Failed! Program: c:\Dev\Point\PointMain\Debug\Winpoint.exeFile: dbgdel.cppLine: 52 Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse) For information on how your program can cause an assertionfailure, see the Visual C++ documentation on asserts.
---------------------------Microsoft Visual C++ Debug Library---------------------------Debug Assertion Failed!
Program: c:\Dev\Point\PointMain\Debug\Winpoint.exeFile: dbgdel.cppLine: 52
Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse)
For information on how your program can cause an assertionfailure, see the Visual C++ documentation on asserts.
void RemoveIt(CDlgAncItem* item) { if (item) { RemoveIt(item->next); delete(item); } }
Remember Me
a@href@title, b, blockquote@cite, em, i, strike, strong, sub, super, u
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.