COleDispatchDriver::m_bAutoRelease

Remarks

If TRUE, the COM object accessed by m_lpDispatch will be automatically released when ReleaseDispatch is called or when this COleDispatchDriver object is destroyed.

By default, m_bAutoRelease is set to TRUE in the constructor.

For more information on releasing COM objects, see Implementing Reference Counting and IUnknown::Release in the OLE 2 Programmer’s Reference, Volume 1.

COleDispatchDriver OverviewClass MembersHierarchy Chart

See Also   COleDispatchDriver::AttachDispatch, COleDispatchDriver::ReleaseDispatch, COleDispatchDriver::m_lpDispatch