用ADO连接时: m_strsql=m_str.Mid(0,2);/////////计算天格(单姓双名),到name表中找
    sql.Format("select * from  name  where namechr='%s'",m_strsql);
m_pRecordset->Close();////
try

m_pRecordset->Open(sql.AllocSysString(),theApp.m_pConnection.GetInterfacePtr(),
adOpenDynamic,adLockOptimistic,adCmdText);

}
catch (_com_error *e) 
{
AfxMessageBox(e->ErrorMessage());
}
m_bstr=(char*)(_bstr_t)m_pRecordset->GetCollect("strokes");///////
// m_tg=(vCount.vt==VT_NULL?0:vCount.intVal);///////////////不能转换vCount值
m_tg=atoi(m_bstr);////姓第一字笔画数
m_tg=m_tg+1;
////m_pRecordset->Close();
///////////////找到天格对应的解释,在81name表
sql.Format("select * from  81name  where ID=%d",m_tg);
m_pRecordset->Close();
try

m_pRecordset->Open(sql.AllocSysString(),theApp.m_pConnection.GetInterfacePtr(),
 adOpenDynamic,adLockOptimistic,adCmdText);///////////////////通不过?????

}
catch (_com_error *e) 
{
AfxMessageBox(e->ErrorMessage());
}
                    为什么上面那个OPEN()可以打开,而下面这个打不开??????????