Call this member function to attach an IDispatch pointer to the COleDispatchDriver object and release any IDispatch pointer that was already attached to it.
void AttachDispatch( LPDISPATCH lpDispatch, BOOL bAutoRelease = TRUE );
| Header file: | Afxdisp.h |
| Platforms: | |
| Versions: | 2.0 and later |
| Complete documentation | Visual C++ documentation |
COleDispatchDriver Overview, COleDispatchDriver Member Functions, Support Classes, IDispatch