This method creates an IDispatch interface object and attaches it to the COleDispatchDriver object.
Header file: | Afxdisp.h |
Platforms: | H/PC 2.0, H/PC Pro |
Windows CE versions: | 2.0 and later |
Complete documentation | Visual C++ documentation |
BOOL CreateDispatch( REFCLSID clsid, COleException* pError = NULL );
BOOL CreateDispatch( LPCTSTR lpszProgID,
COleException* pError = NULL );
COleDispatchDriver::AttachDispatch, COleDispatchDriver::DetachDispatch, COleDispatchDriver::ReleaseDispatch, COleException, COleDispatchDriver::m_lpDispatch, IDispatch