switch (nDType) { case nYc: { m_QueryVector.clear(); GetSelID(); if ( pRdClient->QueryDataEx(nYC,nUnitID,m_QueryVector,(LPSTR)(LPCTSTR)cstrBeginTemp,(LPSTR)(LPCTSTR)cstrEndTemp)) { strData = "查询时段遥测数据成功!"; } else { strData = "查询时段遥测数据失败!"; } m_QueryVector.clear(); } break; default: break; }
原文:http://www.cnblogs.com/cosmicy/p/3665508.html