bjstorey
asked on
Using OLE Automation
How do you get a specific Interface...
I have:
CLSIDFromProgID(OLESTR("Ba ckWeb"),&C LSID_BackW eb);
Hr = CoCreateInstance(CLSID_Bac kWeb,NULL, CLSCTX_SER VER,IID_ID ispatch,(v oid**)&pDi sp);
I have tried:
IBackWeb* pIBackWeb;
pDisp->QueryInterface(IID_ IBackWeb, (void **)&pIBackWeb);
The compiler complains that 'IBackWeb' : missing storage-class or type specifiers
and
'IID_IBackWeb' : undeclared identifier
Is there a way to get the IID for IID_IBackWeb?
I have:
CLSIDFromProgID(OLESTR("Ba
Hr = CoCreateInstance(CLSID_Bac
I have tried:
IBackWeb* pIBackWeb;
pDisp->QueryInterface(IID_
The compiler complains that 'IBackWeb' : missing storage-class or type specifiers
and
'IID_IBackWeb' : undeclared identifier
Is there a way to get the IID for IID_IBackWeb?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.