COleDispatchDriver::ReleaseDispatch

Releases the IDispatch connection. For more information, see Implementing the IDispatch Interface

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

Concepts

COleDispatchDriver Class

COleDispatchDriver Members

Hierarchy Chart

COleDispatchDriver::DetachDispatch

COleDispatchDriver::CreateDispatch

COleDispatchDriver::AttachDispatch

COleDispatchDriver::m_lpDispatch

COleDispatchDriver::m_bAutoRelease