Microsoft Foundation OLE Classes (mfcole.hlp) (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
AfxThrowOleException
                                              Up Contents Index Back
──Microsoft Foundation OLE Classes──────────────────────────────────────────
 
  void AfxThrowOleException ( OLESTATUS status );
 
  Parameter   Description
 
  <status>    An OLESTATUS parameter that indicates the error code. See
              the ole.h include file for more information.
 
  Remarks
 
  Throws an OLE exception. This is a helper function used in the
  implementation of the Microsoft Foundation Classes.
 
  Call this function if OLE operations fail. You will usually not have to
  call this function except as a programming aid in your own code.
 
                                     -♦-