Excel Automation problem
COM
1
Posts
1
Posters
0
Views
1
Watching
-
i'm wonder whether CComPtr is equal with IXXXPtr(raw interface wrapper class)? for example: Excel::_ApplicationPtr spApp; HRESULT hr = spApp.CreateInstance(L"Excel.Application"); // this will succeed //CComPtrExcel::\_Application spApp; //HRESULT hr = spApp.CoCreateInstance(L"Excel.Application"); //this will fail i guess in most cases this should be equal ,right? -- modified at 2:24 Thursday 8th September, 2005