INFO: Visual Basic Uses Exception Code 0xC000008F as Internal Exception Code (232829)



The information in this article applies to:

  • Microsoft Windows DNA
  • Microsoft Visual Basic Learning Edition for Windows 5.0
  • Microsoft Visual Basic Learning Edition for Windows 6.0
  • Microsoft Visual Basic Professional Edition for Windows 5.0
  • Microsoft Visual Basic Professional Edition for Windows 6.0
  • Microsoft Visual Basic Enterprise Edition for Windows 5.0
  • Microsoft Visual Basic Enterprise Edition for Windows 6.0

This article was previously published under Q232829

SUMMARY

Visual Basic uses exception code 0xC000008F as its internal exception code. You can ignore the returned float value that the exception returns. Visual Basic is actually making a call to an object that returns a failure HRESULT. That failure is turned into an exception that gets thrown. There is no bug in Visual Basic. Instead, you need to examine the object being called, which causes the exception, and determine why it is failing.

MORE INFORMATION

This exception may appear in a debug dump generated by the Console Debugger (CDB) or in the WinDbg debugger when you use the Exception Monitor. Please review the CDB or WinDbg debugger sxe switch that allows you to control the action the debugger takes when an exception occurs. For example, you can use the sxe switch to dump the call stack associated with the exception.

REFERENCES

For more information on the sxe switch, search on "sxe" in the Microsoft Developer Network Library (Windows Programming Guidelines section of the Platform SDK).

Modification Type:MajorLast Reviewed:5/28/2003
Keywords:kbinfo KB232829