INFO: General Protection Fault Error Handling in VFP 6.0

ID: Q194184


The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 6.0


SUMMARY

Visual FoxPro version 6.0 offers improved error reporting for General Protection Faults (GPF) and Fatal Errors.


MORE INFORMATION

In previous versions of Visual FoxPro, a General Protection Fault (GPF) or Fatal Error resulted in the display of one of two dialog boxes. Either a Dr. Watson dialog box or a dialog box stating that a GPF had occurred displayed. In Visual FoxPro 6.0, when a GPF or Fatal Error occurs, a dialog box appears with the program call stack. With the call stack information, you are able to trace the problem code more easily than in previous versions.

To disable this error reporting, add the following registry key with a string value of "0":


   HKEY_CLASSES_ROOT\VisualFoxpro.6\Exceptions 
Note that this only affects the development version. The run-time version reports the errors described in the first paragraph of the MORE INFORMATION section.


REFERENCES

(c) Microsoft Corporation 1998, All Rights Reserved. Contributions by Mike A. Stewart, Microsoft Corporation.

Additional query words: access violation c0000005 fatal exception ICE internal consistency error

Keywords : kbMiscTools kbVFp600
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: July 28, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.