分类: C/C++
2014-10-11 16:27:17
Debug Assertion Failed!
Program: ..........exe
File: ...........\src\mfc\wincore.cpp
Line:926
For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.
后来去网上查找, 才知道不能调用CDialo::OnOk() 函数来关闭一个对话框, 要用EndDialog()函数. 例: pDialog->EndDialog(IDOK)
这样就可以了.
转: http://www.cnblogs.com/minvt/archive/2009/11/16/1603841.html