Article ID: 185720
Article Last Modified on 11/21/2006
// In the header file for the automation object, say CmyAutoObject.
virtual BOOL GetDispatchIID(IID* pIID);
// In the implementation file for CmyAutoObject.
BOOL CMyAutoObject::GetDispatchIID(IID* pIID)
{
*pIID = IID_IMyAutoObject;
return TRUE;
}
122285 How to add type libraries as resources to .dll and .exe files
Additional query words: 0x80004001 [ASCII 150] 2147500033
Keywords: kbautomation kbhowto KB185720