我设置断点,最后在
m_grid.SetItemText(0,0,(char*)(_bstr_t)m_pRecordset->GetCollect("编号"));
逐句显示错误,错误提示如下:
------------------------------------------------------Debug Assertion Failed!
Program: ... form_view_demo\sheet_in_view_demo\debug\sheetInView.exe
file :winctrl2.cpp
Line:494
For information on how your program can cause an assertion failure,see the Visual C++ documentation on asserts
(Press Retry to debug the application)
---------------------------------------------------
winctrl2.cpp 的第494行的代码是:
ASSERT((GetStyle() & LVS_OWNERDATA)==0);
请问下我是什么错误,谢谢,
m_grid.SetItemText(0,0,(char*)(_bstr_t)m_pRecordset->GetCollect("编号"));
逐句显示错误,错误提示如下:
------------------------------------------------------Debug Assertion Failed!
Program: ... form_view_demo\sheet_in_view_demo\debug\sheetInView.exe
file :winctrl2.cpp
Line:494
For information on how your program can cause an assertion failure,see the Visual C++ documentation on asserts
(Press Retry to debug the application)
---------------------------------------------------
winctrl2.cpp 的第494行的代码是:
ASSERT((GetStyle() & LVS_OWNERDATA)==0);
请问下我是什么错误,谢谢,
解决方案 »
- 将本机和服务器的端口/IP编码进序号 是什么意思?
- dll为什么不能直接替换
- 怎样实现字符串CString类的变量中的值传递到char数组中,而且数值不发生改变
- 高分求!!!ado+vc++6.0+datagrid控件 如何在datagrid控件中进行记录的添加、修改、删除等操作??
- Visual C++开发GIS系统:开发实例剖析(附光盘)这本书那里能下载的到??
- 关于自动关机??望各位前辈多多指!
- ===请各位大大帮我仔细解释一下SHFILEOPSTRUCT是什么东西?(up有分)===
- 怎样去掉分割窗口的分割条?
- 我用winio在2k下读写并口,为什么老是提示0x00000000内存不可written?
- 急迫:::系统严重丢失资源的问题。。。。。。。。。。。。
- Format函数的用法
- Apache Http Server 有没有提供windows下的开发包
原有的m_grid的变量没有与ListCtrl1进行关联,还有需要把ListCtrl1等列表控件的Styles中的Views属性设置为Report,原来的为icon.