COleDispatchDriver::ReleaseDispatch

Call this member function to release the IDispatch connection. If auto release has been set for this connection, this function calls IDispatch::Release before releasing the interface.

Syntax

void ReleaseDispatch( );

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, COleDispatchDriver::AttachDispatch, COleDispatchDriver::CreateDispatch, COleDispatchDriver::DetachDispatch, IDispatch, COleDispatchDriver::m_lpDispatch, COleDispatchDriver::m_bAutoRelease