在VC 6.0上运行一个程序时,弹出对话框:
Debug Assertion Failed!
Program: D:\...\XX.exe
File: C:\program files\microsoft Visual Studio\vc98\atl\include\atlctl.h
Line 842Expression: h!=0
For information on how your program can cause an assertion failure.
See the Visual C++ documentation on asserts.atlctl.h中从839行开始是这样的:
else
{
HWND h = CreateControlWindow(hwndParent,rcPos);
ATLASSERT(h != NULL);
ATLASSERT(h = m_hWndCD);
h;
}然后我又在另外一台电脑上测试了下能正常运行,所以不知道是不是VC++ 6.0哪里配置的问题,求高手帮忙,谢谢!!!
Debug Assertion Failed!
Program: D:\...\XX.exe
File: C:\program files\microsoft Visual Studio\vc98\atl\include\atlctl.h
Line 842Expression: h!=0
For information on how your program can cause an assertion failure.
See the Visual C++ documentation on asserts.atlctl.h中从839行开始是这样的:
else
{
HWND h = CreateControlWindow(hwndParent,rcPos);
ATLASSERT(h != NULL);
ATLASSERT(h = m_hWndCD);
h;
}然后我又在另外一台电脑上测试了下能正常运行,所以不知道是不是VC++ 6.0哪里配置的问题,求高手帮忙,谢谢!!!
请问下在哪检查VC6有没有打补丁啊?我没打过什么补丁
call stack找到的函数是atlctl.h中的函数,不是我自己写的呢,然后在哪调用的我不太清楚,⊙﹏⊙b汗,初学者