3,245
社区成员
发帖
与我相关
我的任务
分享
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;