我在程序中调用access数据库
用法 大概如下
在构造函数调用
HRESULT hRes = ::CoInitialize(NULL);
if(hRes == S_OK )
{
hRes = ::CoCreateInstance(__uuidof(Connection), NULL, 
      CLSCTX_INPROC_SERVER,
     __uuidof(_Connection), 
   (void**) &m_pConn);
} if(FAILED(hRes))
throw ERR_FAIL;Open() 方法
bstrStr = m_strConnStr.AllocSysString();
hRes = m_pConn->Open(bstrStr, "Admin", "", adConnectUnspecified);
出错 :CoInitial 尚未呼叫错误