Export (0) Print
Expand All

COleDispatchDriver Class

class COleDispatchDriver

Remarks

COleDispatchDriver does not have a base class.

The COleDispatchDriver class implements the client side of OLE automation. 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.

For more information, see Implementing the IDispatch Interface and IDispatch::Invoke in the Platform SDK.

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:

  • Automation Clients
  • Automation Servers

Requirements

Header: afxdisp.h

See Also

MFC Sample CALCDRIV | MFC Sample ACDUAL

Class Members | Hierarchy Chart | CCmdTarget

Show:
© 2015 Microsoft