Compartilhar via


COleDispatchDriver::ReleaseDispatch

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 Class

Hierarchy Chart

COleDispatchDriver::DetachDispatch

COleDispatchDriver::CreateDispatch

COleDispatchDriver::AttachDispatch

COleDispatchDriver::m_lpDispatch

COleDispatchDriver::m_bAutoRelease