COleException::m_sc

SCODE m_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 Structure of COM Error Codes 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