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

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top