ADOEOF问题
用ADO连接ORACLE数据库
执行语句:
return SUCCEEDED(m_pRecordset->Open(_variant_t(LPCTSTR(m_strSQL)),
_variant_t((IDispatch*)m_pConnection->GetConnection(), true),
CursorType, LockType, lOption));
当select 语句有一条返回记录时
为什么m_pRecordset->AdoEof()会时TRUE?
如果这样则m_pRecordset->GetCollect(__variant_t(index))就要异常了!!