COleDispatchDriver Class

Implements the client side of OLE automation.

class COleDispatchDriver

Remarks

COleDispatchDriver does not have a base class.

OLE dispatch interfaces provide access to an object's methods and properties. Member functions of COleDispatchDriver attach, detach, create, and release a dispatch connection of type IDispatch. Other member functions use variable argument lists to simplify calling IDispatch::Invoke.

This class can be used directly, but it is generally used only by classes created by the Add Class wizard. When you create new C++ classes by importing a type library, the new classes are derived from COleDispatchDriver.

For more information on using COleDispatchDriver, see the following articles:

Requirements

Header: afxdisp.h

See Also

Reference

Hierarchy Chart

CCmdTarget Class

Other Resources

MFC Sample CALCDRIV

MFC Sample ACDUAL

COleDispatchDriver Members