1
我有一个运行在Windows 7上正常,但未能Server 2003的失败低于ADO连接的CreateInstance失败在Windows Server 2003
_ConnectionPtr pConnection = NULL;
::CoInitialize(NULL);
HRESULT hr = pConnection.CreateInstance(__uuidof(Connection));
第三行返回的HRESULT是0x80004002(线路上的应用程序接口不支持)。两台机器都安装了MDAC,我看不出为什么我得到这个错误。这可能会发生什么原因?
这确实是问题,安装Windows更新,现在的工作之后。谢谢。 – Jonnster 2012-07-06 14:42:04