Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Releases the IDispatch connection. For more information, see Implementing the IDispatch Interface [Automation]
void ReleaseDispatch( );
Remarks
If auto release has been set for this connection, this function calls IDispatch::Release before releasing the interface.
Example
See the example for COleDispatchDriver::AttachDispatch.
Requirements
Header: afxdisp.h
See Also
Reference
COleDispatchDriver::DetachDispatch
COleDispatchDriver::CreateDispatch
COleDispatchDriver::AttachDispatch
COleDispatchDriver::m_lpDispatch
COleDispatchDriver::m_bAutoRelease