COleDispatchDriver::COleDispatchDriver

This constructor constructs a COleDispatchDriver object.

The default constructor creates a COleDispatchDriver object but does not connect the IDispatch interface. Before using COleDispatchDriver object, you should connect an IDispatch interface to it by using either COleDispatchDriver::CreateDispatch or COleDispatchDriver::AttachDispatch.

The form COleDispatchDriver(LPDISPATCH lpDispatch, BOOL bAutoRelease = TRUE) connects the IDispatch interface.

The third form is the copy constructor.

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

COleDispatchDriver( );

COleDispatchDriver( LPDISPATCH lpDispatch,
BOOL
bAutoRelease = TRUE );

COleDispatchDriver( const COleDispatchDriver& dispatchSrc );

See Also

COleDispatchDriver::CreateDispatch, COleDispatchDriver::AttachDispatch, IDispatch