佚名通过本文主要向大家介绍了com surrogate进程,进程com.android,抱歉进程com.android,进程外com服务器,抱歉 进程com.google等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: com关于调用进程外组件
描述:
解决方案1:
描述:
我是看这个例子的
http://www.codeproject.com/KB/COM/LocalCOMServerClient.aspx
客户无法获取到接口.
就是很简单的进程外组件调用...
cout << "Create the Car object and get back the ICreateMyCar interface...";
hr = pICF->CreateInstance(NULL,IID_ICreateMyCar,(void**)&pICreateMyCar);
if ( FAILED(hr) )
{
ShowErrorMessage("CoGetClassObject()",hr);
exit(1);
}
else cout << "success." << endl;
解决方案1:
进程外组件是否注册成功,查看一下返回错误