弹出窗口失败 Debug Assertion Failed!
Debug Assertion Failed!------调试断言失败!
(丫的,我咋知道啥是断言,弄了我快一个半小时,最后设置N个断点!按了N个F5 ,F10!!最后结果,我勒个去,少了一个窗口初始化,真想找个东西把自己给砸死!!!丫的,还好哥们的参数传递没问题,之前还以为数据的内存存储出问题呢!就当涨经验值了)
--------------------------- Microsoft Visual C++ Debug Library --------------------------- Debug Assertion Failed!
Program: ***.exe File: f:\dd\vctools\vc7libs\ship\atlmfc\include\afxwin2.inl Line: 877
For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application) --------------------------- 中止(A) 重试(R) 忽略(I) --------------------------- |
单击按键没有弹出窗体,就直接报错,如上
调试结果,缺了一句窗口初始化
afx_msg LRESULT CMyDialog::OnInitdialog(WPARAM wParam, LPARAM lParam)
{
CDialogEx::OnInitDialog();
}
哥们下次能不能细心点!!!!求你了!!!!
Best Regards To Reader:
==============================================
Royal Kao(高全宁)
Mob: 13771921045
Mail: gaoquanning@163.com
Blog: http://www.cnblogs.com/gaoquanning/
==============================================