Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

COleDispatchException Class

Handles exceptions specific to the OLE IDispatch interface, which is a key part of OLE automation.

class COleDispatchException : public CException

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 Exception Handling (MFC) and Exceptions: OLE Exceptions.

Header: afxdisp.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.