在代码中使用
m_pRecordset->GetState ()来判断m_pRecordset的状态,在执行的时候,总是出错,大大们知道是怎么回事吗?中断时这个函数:
 Interface* operator->() const 
    { 
        if (m_pInterface == NULL) {
            _com_issue_error(E_POINTER);
        }        return m_pInterface; 
    }选择继续执行,则会到这个函数中断:
inline long Recordset15::GetState ( ) {
    long _result = 0;
    HRESULT _hr = get_State(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}
知道的大大,希望能详细点的告诉我,谢谢!