COleDispatchDriver::ReleaseDispatch

void ReleaseDispatch( );

Remarks

Releases the IDispatch connection. 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.

COleDispatchDriver OverviewClass MembersHierarchy Chart

See Also   COleDispatchDriver::DetachDispatch, COleDispatchDriver::CreateDispatch, COleDispatchDriver::AttachDispatch, COleDispatchDriver::m_lpDispatch, COleDispatchDriver::m_bAutoRelease