COleDispatchDriver::AttachDispatch

This method attaches an IDispatch pointer to the COleDispatchDriver object and release any IDispatch pointer that was already attached to it.

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

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

See Also

IDispatch