COleDispatchDriver::AttachDispatch

Call this member function to attach an IDispatch pointer to the COleDispatchDriver object and release any IDispatch pointer that was already attached to it.

Syntax

void AttachDispatch( LPDISPATCH lpDispatch, BOOL bAutoRelease = TRUE );

At a Glance

Header file: Afxdisp.h
Platforms:
Versions: 2.0 and later
Complete documentation Visual C++ documentation

See Also

COleDispatchDriver Overview, COleDispatchDriver Member Functions, Support Classes, IDispatch