请问Debug assertion failed错误是什么原因?如何解决? --具体看第3页红色字体部分 本帖最后由 duangexin521 于 2010-04-27 17:06:45 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 lvcol.pszText = TEXT("Dark Column"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 60; m_list.InsertColumn(38,&lvcol); lvcol.pszText = TEXT("Dark Mean"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 60; m_list.InsertColumn(39,&lvcol); lvcol.pszText = TEXT("Dark Cluster3"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 60; m_list.InsertColumn(40,&lvcol); lvcol.pszText = TEXT("Dark Center"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 65; m_list.InsertColumn(41,&lvcol); lvcol.pszText = TEXT("Dark Peripheral"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 65; m_list.InsertColumn(42,&lvcol); lvcol.pszText = TEXT("Op Vdd3a"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 72; m_list.InsertColumn(43,&lvcol); lvcol.pszText = TEXT("Op Vddio"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 72; m_list.InsertColumn(44,&lvcol); lvcol.pszText = TEXT("Op Vldo"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 80; m_list.InsertColumn(45,&lvcol); lvcol.pszText = TEXT("Op Vddd"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 78; m_list.InsertColumn(46,&lvcol); lvcol.pszText = TEXT("Op Consuption"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 60; m_list.InsertColumn(47,&lvcol); lvcol.pszText = TEXT("Mid Mean"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 60; m_list.InsertColumn(48,&lvcol); lvcol.pszText = TEXT("Mid Row"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 60; m_list.InsertColumn(49,&lvcol); lvcol.pszText = TEXT("Mid Column"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 60; m_list.InsertColumn(50,&lvcol); lvcol.pszText = TEXT("RG Ratio"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 65; m_list.InsertColumn(51,&lvcol); lvcol.pszText = TEXT("BG Ratio"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 65; m_list.InsertColumn(52,&lvcol); lvcol.pszText = TEXT("Mid Cluster3"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 72; m_list.InsertColumn(53,&lvcol); lvcol.pszText = TEXT("Mid Center"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 72; m_list.InsertColumn(54,&lvcol); lvcol.pszText = TEXT("Mid Peripheral"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 80; m_list.InsertColumn(55,&lvcol); lvcol.pszText = TEXT("MC 107"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 78; m_list.InsertColumn(56,&lvcol); lvcol.pszText = TEXT("MC 108"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 60; m_list.InsertColumn(57,&lvcol); lvcol.pszText = TEXT("MC 109"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 60; m_list.InsertColumn(58,&lvcol); lvcol.pszText = TEXT("MC 110"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 60; m_list.InsertColumn(59,&lvcol); lvcol.pszText = TEXT("MC 111"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 60; m_list.InsertColumn(60,&lvcol); lvcol.pszText = TEXT("MC 112"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 65; m_list.InsertColumn(61,&lvcol); lvcol.pszText = TEXT("MC 113"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 65; m_list.InsertColumn(62,&lvcol); lvcol.pszText = TEXT("MC 114"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 72; m_list.InsertColumn(63,&lvcol); lvcol.pszText = TEXT("MC 115"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 72; m_list.InsertColumn(64,&lvcol); lvcol.pszText = TEXT("MC 116"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 80; m_list.InsertColumn(65,&lvcol); lvcol.pszText = TEXT("MC 117"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 78; m_list.InsertColumn(66,&lvcol); lvcol.pszText = TEXT("MC 118"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 60; m_list.InsertColumn(67,&lvcol); lvcol.pszText = TEXT("MC 119"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 60; m_list.InsertColumn(68,&lvcol); lvcol.pszText = TEXT("MC 120"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 60; m_list.InsertColumn(69,&lvcol); lvcol.pszText = TEXT("MC 121"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 60; m_list.InsertColumn(70,&lvcol); lvcol.pszText = TEXT("MC 122"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 65; m_list.InsertColumn(71,&lvcol); lvcol.pszText = TEXT("MC 123"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 65; m_list.InsertColumn(72,&lvcol); lvcol.pszText = TEXT("MC 124"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 72; m_list.InsertColumn(73,&lvcol); lvcol.pszText = TEXT("MC 125"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 72; m_list.InsertColumn(74,&lvcol); lvcol.pszText = TEXT("MC 126"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 80; m_list.InsertColumn(75,&lvcol); lvcol.pszText = TEXT("MC 127"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 78; m_list.InsertColumn(76,&lvcol); lvcol.pszText = TEXT("MC 128"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 60; m_list.InsertColumn(77,&lvcol); lvcol.pszText = TEXT("MC 129"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 60; m_list.InsertColumn(78,&lvcol); lvcol.pszText = TEXT("MC 130"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 60; m_list.InsertColumn(79,&lvcol); lvcol.pszText = TEXT("MC 131"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 60; m_list.InsertColumn(80,&lvcol); lvcol.pszText = TEXT("MC 132"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 65; m_list.InsertColumn(81,&lvcol); lvcol.pszText = TEXT("MC 133"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 65; m_list.InsertColumn(82,&lvcol); lvcol.pszText = TEXT("MC 134"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 72; m_list.InsertColumn(83,&lvcol); lvcol.pszText = TEXT("MC 135"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 72; m_list.InsertColumn(84,&lvcol); lvcol.pszText = TEXT("MC 136"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 80; m_list.InsertColumn(85,&lvcol); lvcol.pszText = TEXT("MC 137"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 78; m_list.InsertColumn(86,&lvcol); lvcol.pszText = TEXT("MC 138"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 60; m_list.InsertColumn(87,&lvcol); lvcol.pszText = TEXT("Stand Vdd3a"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 60; m_list.InsertColumn(88,&lvcol); lvcol.pszText = TEXT("Stand Vddio"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 60; m_list.InsertColumn(89,&lvcol); lvcol.pszText = TEXT("Stand Vddd"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 60; m_list.InsertColumn(90,&lvcol); lvcol.pszText = TEXT("Stand Vldo"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 65; m_list.InsertColumn(91,&lvcol); lvcol.pszText = TEXT("Stand Consup"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 65; m_list.InsertColumn(92,&lvcol); lvcol.pszText = TEXT("Stand Sum"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 72; m_list.InsertColumn(93,&lvcol); lvcol.pszText = TEXT("Final Result"); lvcol.fmt = LVCFMT_CENTER; lvcol.cx = 72; m_list.InsertColumn(94,&lvcol); //插入表项: LVITEM lvi; //全局设定表项风格 lvi.mask = LVIF_IMAGE|LVIF_TEXT; int i = 0; //移至最后一条记录 rs.MoveFirst(); while( !rs.IsEOF( ) ) //一条一条向前读用IsBOF() //一条一条向后读用IsEOF() { //加入一些表项 //插入数据库表中的数据: // Insert the item, then select every other subitem. //第一列 CString strDate; rs.GetFieldValue("CheckDate",strDate); m_list.InsertItem(i, strDate); //第二列 CString strstarttime; rs.GetFieldValue("starttime", strstarttime); m_list.SetItemText(i, 1, strstarttime); //第三列 CString strendtime; rs.GetFieldValue("endtime",strendtime); m_list.SetItemText(i, 2, strendtime); //第四列 CString strNumber; rs.GetFieldValue("Number", strNumber); m_list.SetItemText(i, 3, strNumber); //第五列 CString strNo; rs.GetFieldValue("No", strNo); m_list.SetItemText(i, 4, strNo); //第六列 CString strVersion; rs.GetFieldValue("Version", strVersion); m_list.SetItemText(i, 5, strVersion); //第七列 CString strLotNo; rs.GetFieldValue("LotNo", strLotNo); m_list.SetItemText(i, 6, strLotNo); //第八列 CString strWafer; rs.GetFieldValue("Wafer", strWafer); m_list.SetItemText(i, 7, strWafer); //第九列 CString strBigBin; rs.GetFieldValue("BigBin", strBigBin); m_list.SetItemText(i,8, strBigBin); //第十列 CString strSmallBin; rs.GetFieldValue("SmallBin", strSmallBin); m_list.SetItemText(i, 9, strSmallBin); CString strVdd3A; rs.GetFieldValue("Vdd3A", strVdd3A); m_list.SetItemText(i, 10, strVdd3A); CString strVddIO; rs.GetFieldValue("VddIO",strVddIO); m_list.SetItemText(i, 11, strVddIO); CString strVldo; rs.GetFieldValue("Vldo", strVldo); m_list.SetItemText(i, 12, strVldo); CString strVddd; rs.GetFieldValue("Vddd", strVddd); m_list.SetItemText(i, 13, strVddd); CString strData0; rs.GetFieldValue("Data0", strData0); m_list.SetItemText(i, 14, strData0); CString strData1; rs.GetFieldValue("Data1", strData1); m_list.SetItemText(i, 15, strData1); CString strData2; rs.GetFieldValue("Data2", strData2); m_list.SetItemText(i, 16, strData2); CString strData3; rs.GetFieldValue("Data3", strData3); m_list.SetItemText(i,17, strData3); CString strData4; rs.GetFieldValue("Data4", strData4); m_list.SetItemText(i, 18, strData4); CString strData5; rs.GetFieldValue("Data5", strData5); m_list.SetItemText(i, 19, strData5); CString strData6; rs.GetFieldValue("Data6",strData6); m_list.SetItemText(i, 20, strData6); CString strData7; rs.GetFieldValue("Data7", strData7); m_list.SetItemText(i, 21, strData7); CString strData8; rs.GetFieldValue("Data8", strData8); m_list.SetItemText(i, 22, strData8); CString strData9; rs.GetFieldValue("Data9", strData9); m_list.SetItemText(i, 23, strData9); CString strVsync; rs.GetFieldValue("Vsync", strVsync); m_list.SetItemText(i, 24, strVsync); CString strHsync; rs.GetFieldValue("Hsync", strHsync); m_list.SetItemText(i, 25, strHsync); CString strPclk; rs.GetFieldValue("Pclk", strPclk); m_list.SetItemText(i,26, strPclk); CString strSda; rs.GetFieldValue("Sda", strSda); m_list.SetItemText(i,27, strSda); CString strScl; rs.GetFieldValue("Scl", strScl); m_list.SetItemText(i, 28, strScl); CString strPwdn; rs.GetFieldValue("Pwdn", strPwdn); m_list.SetItemText(i, 29, strPwdn); CString strReset; rs.GetFieldValue("Reset",strReset); m_list.SetItemText(i, 30, strReset); CString strXclk; rs.GetFieldValue("Xclk", strXclk); m_list.SetItemText(i, 31, strXclk); CString strVdd3a1; rs.GetFieldValue("OSVdd3a", strVdd3a1); m_list.SetItemText(i, 32, strVdd3a1); CString strVddio1; rs.GetFieldValue("OSVddio", strVddio1); m_list.SetItemText(i, 33, strVddio1); CString strVldo1; rs.GetFieldValue("OSVldo", strVldo1); m_list.SetItemText(i, 34, strVldo1); CString strVddd1; rs.GetFieldValue("OSVddd", strVddd1); m_list.SetItemText(i, 35, strVddd1); CString strCurrentValue; rs.GetFieldValue("CurrentValue", strCurrentValue); m_list.SetItemText(i,36, strCurrentValue); CString strRowValue; rs.GetFieldValue("RowValue", strRowValue); m_list.SetItemText(i,37, strRowValue); CString strColumnValue; rs.GetFieldValue("ColumnValue", strColumnValue); m_list.SetItemText(i, 38, strColumnValue); CString strMeanValue; rs.GetFieldValue("MeanValue", strMeanValue); m_list.SetItemText(i, 39, strMeanValue); CString strClusterValue; rs.GetFieldValue("ClusterValue",strClusterValue); m_list.SetItemText(i, 40, strClusterValue); CString strCenterValue; rs.GetFieldValue("CenterValue", strCenterValue); m_list.SetItemText(i, 41, strCenterValue); CString strPeripherValue; rs.GetFieldValue("PeripherValue", strPeripherValue); m_list.SetItemText(i, 42, strPeripherValue); CString strOpVdd3a; rs.GetFieldValue("OpVdd3a", strOpVdd3a); m_list.SetItemText(i, 43, strOpVdd3a); CString strOpVddio; rs.GetFieldValue("OpVddio", strOpVddio); m_list.SetItemText(i, 44, strOpVddio); CString strOpVldo; rs.GetFieldValue("OpVldo", strOpVldo); m_list.SetItemText(i, 45, strOpVldo); CString strOpVddd; rs.GetFieldValue("OpVddd", strOpVddd); m_list.SetItemText(i,46, strOpVddd); CString strConsupValue; rs.GetFieldValue("ConsupValue", strConsupValue); m_list.SetItemText(i,47, strConsupValue); CString strMidMean; rs.GetFieldValue("MidMean", strMidMean); m_list.SetItemText(i, 48, strMidMean); CString strMidRow; rs.GetFieldValue("MidRow", strMidRow); m_list.SetItemText(i, 49, strMidRow); CString strMidColumn; rs.GetFieldValue("MidColumn",strMidColumn); m_list.SetItemText(i, 50, strMidColumn);调试程序运行到红色地方就报错,请问到底是怎么回事?请高手指点!谢谢! 请老师看看 是不是listcontorl列有限制还是?》我测试在46列获取的值是对的。 获取 id 值 存储过程或函数里实现批量插入,怎么传参? 求教两个表之间的关联查询 PGSQL 视图 FULL JOIN 可以有多少? select 语句查找的问题??急救啊!!! MySQL如何实现分布式负载均衡 北京的MYSQL高手和我联系,我有一个大项目。 mysql空间数据库怎样将一个字段的所有空间数据添加进GeometryCollection mysql 主从 字段大小 如何判断结束时间到了 刚安装的数据库怎么可以启动远程的服务器,不能启动本地服务器,启动报错 关于MYSQL导入TXT文本的问题在线求助!
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 60;
m_list.InsertColumn(38,&lvcol);
lvcol.pszText = TEXT("Dark Mean");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 60;
m_list.InsertColumn(39,&lvcol);
lvcol.pszText = TEXT("Dark Cluster3");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 60;
m_list.InsertColumn(40,&lvcol);
lvcol.pszText = TEXT("Dark Center");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 65;
m_list.InsertColumn(41,&lvcol);
lvcol.pszText = TEXT("Dark Peripheral");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 65;
m_list.InsertColumn(42,&lvcol);
lvcol.pszText = TEXT("Op Vdd3a");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 72;
m_list.InsertColumn(43,&lvcol);
lvcol.pszText = TEXT("Op Vddio");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 72;
m_list.InsertColumn(44,&lvcol);
lvcol.pszText = TEXT("Op Vldo");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 80;
m_list.InsertColumn(45,&lvcol);
lvcol.pszText = TEXT("Op Vddd");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 78;
m_list.InsertColumn(46,&lvcol);
lvcol.pszText = TEXT("Op Consuption");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 60;
m_list.InsertColumn(47,&lvcol);
lvcol.pszText = TEXT("Mid Mean");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 60;
m_list.InsertColumn(48,&lvcol);
lvcol.pszText = TEXT("Mid Row");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 60;
m_list.InsertColumn(49,&lvcol); lvcol.pszText = TEXT("Mid Column");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 60;
m_list.InsertColumn(50,&lvcol);
lvcol.pszText = TEXT("RG Ratio");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 65;
m_list.InsertColumn(51,&lvcol);
lvcol.pszText = TEXT("BG Ratio");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 65;
m_list.InsertColumn(52,&lvcol);
lvcol.pszText = TEXT("Mid Cluster3");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 72;
m_list.InsertColumn(53,&lvcol);
lvcol.pszText = TEXT("Mid Center");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 72;
m_list.InsertColumn(54,&lvcol);
lvcol.pszText = TEXT("Mid Peripheral");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 80;
m_list.InsertColumn(55,&lvcol);
lvcol.pszText = TEXT("MC 107");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 78;
m_list.InsertColumn(56,&lvcol);
lvcol.pszText = TEXT("MC 108");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 60;
m_list.InsertColumn(57,&lvcol);
lvcol.pszText = TEXT("MC 109");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 60;
m_list.InsertColumn(58,&lvcol);
lvcol.pszText = TEXT("MC 110");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 60;
m_list.InsertColumn(59,&lvcol); lvcol.pszText = TEXT("MC 111");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 60;
m_list.InsertColumn(60,&lvcol);
lvcol.pszText = TEXT("MC 112");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 65;
m_list.InsertColumn(61,&lvcol);
lvcol.pszText = TEXT("MC 113");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 65;
m_list.InsertColumn(62,&lvcol);
lvcol.pszText = TEXT("MC 114");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 72;
m_list.InsertColumn(63,&lvcol);
lvcol.pszText = TEXT("MC 115");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 72;
m_list.InsertColumn(64,&lvcol);
lvcol.pszText = TEXT("MC 116");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 80;
m_list.InsertColumn(65,&lvcol);
lvcol.pszText = TEXT("MC 117");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 78;
m_list.InsertColumn(66,&lvcol);
lvcol.pszText = TEXT("MC 118");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 60;
m_list.InsertColumn(67,&lvcol);
lvcol.pszText = TEXT("MC 119");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 60;
m_list.InsertColumn(68,&lvcol);
lvcol.pszText = TEXT("MC 120");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 60;
m_list.InsertColumn(69,&lvcol); lvcol.pszText = TEXT("MC 121");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 60;
m_list.InsertColumn(70,&lvcol);
lvcol.pszText = TEXT("MC 122");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 65;
m_list.InsertColumn(71,&lvcol);
lvcol.pszText = TEXT("MC 123");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 65;
m_list.InsertColumn(72,&lvcol);
lvcol.pszText = TEXT("MC 124");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 72;
m_list.InsertColumn(73,&lvcol);
lvcol.pszText = TEXT("MC 125");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 72;
m_list.InsertColumn(74,&lvcol);
lvcol.pszText = TEXT("MC 126");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 80;
m_list.InsertColumn(75,&lvcol);
lvcol.pszText = TEXT("MC 127");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 78;
m_list.InsertColumn(76,&lvcol);
lvcol.pszText = TEXT("MC 128");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 60;
m_list.InsertColumn(77,&lvcol);
lvcol.pszText = TEXT("MC 129");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 60;
m_list.InsertColumn(78,&lvcol);
lvcol.pszText = TEXT("MC 130");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 60;
m_list.InsertColumn(79,&lvcol); lvcol.pszText = TEXT("MC 131");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 60;
m_list.InsertColumn(80,&lvcol);
lvcol.pszText = TEXT("MC 132");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 65;
m_list.InsertColumn(81,&lvcol);
lvcol.pszText = TEXT("MC 133");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 65;
m_list.InsertColumn(82,&lvcol);
lvcol.pszText = TEXT("MC 134");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 72;
m_list.InsertColumn(83,&lvcol);
lvcol.pszText = TEXT("MC 135");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 72;
m_list.InsertColumn(84,&lvcol);
lvcol.pszText = TEXT("MC 136");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 80;
m_list.InsertColumn(85,&lvcol);
lvcol.pszText = TEXT("MC 137");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 78;
m_list.InsertColumn(86,&lvcol);
lvcol.pszText = TEXT("MC 138");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 60;
m_list.InsertColumn(87,&lvcol);
lvcol.pszText = TEXT("Stand Vdd3a");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 60;
m_list.InsertColumn(88,&lvcol);
lvcol.pszText = TEXT("Stand Vddio");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 60;
m_list.InsertColumn(89,&lvcol); lvcol.pszText = TEXT("Stand Vddd");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 60;
m_list.InsertColumn(90,&lvcol);
lvcol.pszText = TEXT("Stand Vldo");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 65;
m_list.InsertColumn(91,&lvcol);
lvcol.pszText = TEXT("Stand Consup");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 65;
m_list.InsertColumn(92,&lvcol);
lvcol.pszText = TEXT("Stand Sum");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 72;
m_list.InsertColumn(93,&lvcol);
lvcol.pszText = TEXT("Final Result");
lvcol.fmt = LVCFMT_CENTER;
lvcol.cx = 72;
m_list.InsertColumn(94,&lvcol);
//插入表项:
LVITEM lvi;
//全局设定表项风格
lvi.mask = LVIF_IMAGE|LVIF_TEXT;
int i = 0;
rs.MoveFirst(); while( !rs.IsEOF( ) ) //一条一条向前读用IsBOF() //一条一条向后读用IsEOF()
{
//加入一些表项
//插入数据库表中的数据: // Insert the item, then select every other subitem.
//第一列
CString strDate;
rs.GetFieldValue("CheckDate",strDate);
m_list.InsertItem(i, strDate);
//第二列
CString strstarttime;
rs.GetFieldValue("starttime", strstarttime);
m_list.SetItemText(i, 1, strstarttime);
//第三列
CString strendtime;
rs.GetFieldValue("endtime",strendtime);
m_list.SetItemText(i, 2, strendtime);
//第四列
CString strNumber;
rs.GetFieldValue("Number", strNumber);
m_list.SetItemText(i, 3, strNumber);
//第五列
CString strNo;
rs.GetFieldValue("No", strNo);
m_list.SetItemText(i, 4, strNo);
//第六列
CString strVersion;
rs.GetFieldValue("Version", strVersion);
m_list.SetItemText(i, 5, strVersion); //第七列
CString strLotNo;
rs.GetFieldValue("LotNo", strLotNo);
m_list.SetItemText(i, 6, strLotNo); //第八列
CString strWafer;
rs.GetFieldValue("Wafer", strWafer);
m_list.SetItemText(i, 7, strWafer); //第九列
CString strBigBin;
rs.GetFieldValue("BigBin", strBigBin);
m_list.SetItemText(i,8, strBigBin); //第十列
CString strSmallBin;
rs.GetFieldValue("SmallBin", strSmallBin);
m_list.SetItemText(i, 9, strSmallBin); CString strVdd3A;
rs.GetFieldValue("Vdd3A", strVdd3A);
m_list.SetItemText(i, 10, strVdd3A);
CString strVddIO;
rs.GetFieldValue("VddIO",strVddIO);
m_list.SetItemText(i, 11, strVddIO);
CString strVldo;
rs.GetFieldValue("Vldo", strVldo);
m_list.SetItemText(i, 12, strVldo);
CString strVddd;
rs.GetFieldValue("Vddd", strVddd);
m_list.SetItemText(i, 13, strVddd);
CString strData0;
rs.GetFieldValue("Data0", strData0);
m_list.SetItemText(i, 14, strData0); CString strData1;
rs.GetFieldValue("Data1", strData1);
m_list.SetItemText(i, 15, strData1); CString strData2;
rs.GetFieldValue("Data2", strData2);
m_list.SetItemText(i, 16, strData2); CString strData3;
rs.GetFieldValue("Data3", strData3);
m_list.SetItemText(i,17, strData3); CString strData4;
rs.GetFieldValue("Data4", strData4);
m_list.SetItemText(i, 18, strData4); CString strData5;
rs.GetFieldValue("Data5", strData5);
m_list.SetItemText(i, 19, strData5);
CString strData6;
rs.GetFieldValue("Data6",strData6);
m_list.SetItemText(i, 20, strData6);
CString strData7;
rs.GetFieldValue("Data7", strData7);
m_list.SetItemText(i, 21, strData7);
CString strData8;
rs.GetFieldValue("Data8", strData8);
m_list.SetItemText(i, 22, strData8);
CString strData9;
rs.GetFieldValue("Data9", strData9);
m_list.SetItemText(i, 23, strData9); CString strVsync;
rs.GetFieldValue("Vsync", strVsync);
m_list.SetItemText(i, 24, strVsync); CString strHsync;
rs.GetFieldValue("Hsync", strHsync);
m_list.SetItemText(i, 25, strHsync); CString strPclk;
rs.GetFieldValue("Pclk", strPclk);
m_list.SetItemText(i,26, strPclk); CString strSda;
rs.GetFieldValue("Sda", strSda);
m_list.SetItemText(i,27, strSda); CString strScl;
rs.GetFieldValue("Scl", strScl);
m_list.SetItemText(i, 28, strScl); CString strPwdn;
rs.GetFieldValue("Pwdn", strPwdn);
m_list.SetItemText(i, 29, strPwdn);
CString strReset;
rs.GetFieldValue("Reset",strReset);
m_list.SetItemText(i, 30, strReset);
CString strXclk;
rs.GetFieldValue("Xclk", strXclk);
m_list.SetItemText(i, 31, strXclk);
CString strVdd3a1;
rs.GetFieldValue("OSVdd3a", strVdd3a1);
m_list.SetItemText(i, 32, strVdd3a1);
CString strVddio1;
rs.GetFieldValue("OSVddio", strVddio1);
m_list.SetItemText(i, 33, strVddio1); CString strVldo1;
rs.GetFieldValue("OSVldo", strVldo1);
m_list.SetItemText(i, 34, strVldo1); CString strVddd1;
rs.GetFieldValue("OSVddd", strVddd1);
m_list.SetItemText(i, 35, strVddd1); CString strCurrentValue;
rs.GetFieldValue("CurrentValue", strCurrentValue);
m_list.SetItemText(i,36, strCurrentValue); CString strRowValue;
rs.GetFieldValue("RowValue", strRowValue);
m_list.SetItemText(i,37, strRowValue); CString strColumnValue;
rs.GetFieldValue("ColumnValue", strColumnValue);
m_list.SetItemText(i, 38, strColumnValue); CString strMeanValue;
rs.GetFieldValue("MeanValue", strMeanValue);
m_list.SetItemText(i, 39, strMeanValue);
CString strClusterValue;
rs.GetFieldValue("ClusterValue",strClusterValue);
m_list.SetItemText(i, 40, strClusterValue);
CString strCenterValue;
rs.GetFieldValue("CenterValue", strCenterValue);
m_list.SetItemText(i, 41, strCenterValue);
CString strPeripherValue;
rs.GetFieldValue("PeripherValue", strPeripherValue);
m_list.SetItemText(i, 42, strPeripherValue);
CString strOpVdd3a;
rs.GetFieldValue("OpVdd3a", strOpVdd3a);
m_list.SetItemText(i, 43, strOpVdd3a); CString strOpVddio;
rs.GetFieldValue("OpVddio", strOpVddio);
m_list.SetItemText(i, 44, strOpVddio); CString strOpVldo;
rs.GetFieldValue("OpVldo", strOpVldo);
m_list.SetItemText(i, 45, strOpVldo); CString strOpVddd;
rs.GetFieldValue("OpVddd", strOpVddd);
m_list.SetItemText(i,46, strOpVddd); CString strConsupValue;
rs.GetFieldValue("ConsupValue", strConsupValue);
m_list.SetItemText(i,47, strConsupValue); CString strMidMean;
rs.GetFieldValue("MidMean", strMidMean);
m_list.SetItemText(i, 48, strMidMean); CString strMidRow;
rs.GetFieldValue("MidRow", strMidRow);
m_list.SetItemText(i, 49, strMidRow);
CString strMidColumn;
rs.GetFieldValue("MidColumn",strMidColumn);
m_list.SetItemText(i, 50, strMidColumn);
调试程序运行到红色地方就报错,请问到底是怎么回事?请高手指点!谢谢!