_CommandPtr m_pCommand;
    m_pRecordset.CreateInstance("ADODB.Recordset");
    HRESULT temp =m_pCommand.CreateInstance (__uuidof(Command)); 
if(FAILED(temp))  
{   
AfxMessageBox("create command error!");
return;  
}    运得时老是弹出create command error对话框..为什么??