Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The COleDispatchException class handles exceptions specific to the OLE IDispatch interface, which is a key part of OLE automation.
Like the other exception classes derived from the CException base class, COleDispatchException can be used with the THROW, THROW_LAST, TRY, CATCH, AND_CATCH, and END_CATCH macros.
In general, you should call AfxThrowOleDispatchException to create and throw a COleDispatchException object.
For more information on exceptions, see the articles and in Visual C++ Programmer’s Guide.
#include <afxdisp.h>
Class Members | Base Class | Hierarchy Chart
See Also COleDispatchDriver, COleException