BOOL CDALApp::InitInstance()
{
CWinApp::InitInstance();
m_DALAdo.OnInitADOConn()
g_AdoObject=m_DALAdo;
m_OutPutDAO=new DAOFactory();
return TRUE;
}
如上代码所示,不知为何进入到这一句时
hr = CoCreateInstance(rclsid, pOuter, dwClsContext, __uuidof(IUnknown), reinterpret_cast(&pIUnknown));
程序就不再往下执行,也不返回结果,也不提示错误。
我已经看了两天了,也没找到答案,不知哪一位大虾能帮帮小弟??