This method attaches an IDispatch pointer to the COleDispatchDriver object and release any IDispatch pointer that was already attached to it.
Header file: | Afxdisp.h |
Platforms: | H/PC 2.0, H/PC Pro |
Windows CE versions: | 2.0 and later |
Complete documentation | Visual C++ documentation |
void AttachDispatch( LPDISPATCH lpDispatch,
BOOL bAutoRelease = TRUE );