Bug: include <atlbase.h> in wizard generated Windows Form App

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Please help with this bug, probably due to CRT not starting up.
To recreate:

In VS2005 create a new C++ "Windows Form Application"
Add the line #include <atlbase.h> in stdafx.h (or anywhere else)

I get the following error:
---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!

Program: l:\documents\src\test44\debug\test44.exe
File: dbgheap.c
Line: 1414

Expression: _CrtIsValidHeapPointer(pUserData)

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)
 
Back
Top