COleDispatchDriver::CreateDispatch

This method creates an IDispatch interface object and attaches it to the COleDispatchDriver object.

At a Glance

Header file: Afxdisp.h
Platforms: H/PC 2.0, H/PC Pro
Windows CE versions: 2.0 and later
Complete documentation Visual C++ documentation

Syntax

BOOL CreateDispatch( REFCLSID clsid, COleException* pError = NULL );

BOOL CreateDispatch( LPCTSTR lpszProgID,
COleException*
pError = NULL );

See Also

COleDispatchDriver::AttachDispatch, COleDispatchDriver::DetachDispatch, COleDispatchDriver::ReleaseDispatch, COleException, COleDispatchDriver::m_lpDispatch, IDispatch