COleException::m_sc

SCODEm_sc;

Remarks

This data member holds the OLE status code that indicates the reason for the exception. This variable’s value is set by AfxThrowOleException.

For more information on SCODE, see in the Platform SDK.

Example

try {
   // ...
   // Some OLE call
   // ...
}
catch (COleException *e) {

   TRACE ("COleException caught. SCODE = %x\n", e->m_sc);
   e->Delete();
}

COleException OverviewClass MembersHierarchy Chart

See Also   AfxThrowOleException