做了个vc++6.0下的MFC程序。应用了Lost Control控件,利用:m_Card.InsertColumn(0,"数据",LVCFMT_LEFT,800);加了标题。再用:this->m_Card.InsertItem(0,"");this->m_Card.SetItemText(0,0,strOut);加入行及显示“strOut”中的数据。
编译通过,运行报错:应用程序发生异常 unknomn software exception(0x80000003),位置为0x7c92120e。调试出断言:user breakpoint called from cede at 0x7c92120 不能排除错误,求教!
编译通过,运行报错:应用程序发生异常 unknomn software exception(0x80000003),位置为0x7c92120e。调试出断言:user breakpoint called from cede at 0x7c92120 不能排除错误,求教!
光凭这句_CrtDbgReport看不出来问题
应该是 strOut 数据有问题 可能没赋值
PostQuitMessage(msg.wParam);
return bResult;
#else
TCHAR szMessage[_MAX_PATH*2];”
在“bool bResult=.....”这句出提示:要“DBGRPT.C”。
帮分析分析
谢谢大家了!不过也怪,List Control报错的方式也太妖孽了点,O(∩_∩)O哈!给大家提个醒。