vc 错误:Debug Assertion Failed

来源:互联网 发布:苹果音频剪辑软件 编辑:程序博客网 时间:2024/05/14 02:41

 我的程序在调试时没有问题,但运行时出现错误:Debug   Assertion   Failed.   Fail:afxwin2.inl.   Line:711.   我查了一下,afxwin2.inl的710行和711行是:_AFXWIN_INLINE   int   CComboBox::GetCurSel()   const  
  {   ASSERT(::IsWindow(m_hWnd));   return   (int)::SendMessage(m_hWnd,   CB_GETCURSEL,   0,   0);   }  
   
  请问具体怎么做啊?

也在网上搜索了一下,原因知道了,但是具体的怎么做还不是很明白。

原创粉丝点击