The information in this article applies to:
SYMPTOMSWhen trapping a divide by zero or divide overflow error (error numbers 11 and 6 respectively) in a Visual Basic program, you may receive a stack fault if an MS-DOS session is also running. In this situation, the computer may also hang (stop responding) or automatically reboot. CAUSEThis problem is caused by the Windows mathematics exception handling, not by Microsoft Visual Basic. WORKAROUNDThe only way to avoid this problem is to terminate all MS-DOS sessions before running a Visual Basic application that traps divide by zero or divide overflow errors. STATUSMicrosoft has confirmed this to be a bug in Microsoft Windows version 3.1. This problem has been corrected in Visual Basic version 4.0. MORE INFORMATIONSteps to Reproduce Problem
Additional query words: buglist2.00 buglist3.00 fixlist4.00 2.00 3.00
Keywords : kbenv EnvtRun |
Last Reviewed: June 18, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |