Call this member function to create an IDispatch interface object and attach it to the COleDispatchDriver object.
BOOL CreateDispatch( REFCLSID clsid, COleException* pError = NULL );
BOOL CreateDispatch( LPCTSTR lpszProgID, COleException* pError = NULL );
Header file: | Afxdisp.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation | Visual C++ documentation |
COleDispatchDriver Overview, COleDispatchDriver Member Functions, Support Classes, COleDispatchDriver::AttachDispatch, COleDispatchDriver::DetachDispatch, COleDispatchDriver::ReleaseDispatch, COleException, COleDispatchDriver::m_lpDispatch, IDispatch