FIX: Stack Fault May Occur If Trapping Divide By ZeroLast reviewed: October 30, 1997Article ID: Q95499 |
2.00 3.00
WINDOWS
kbenv kbbuglist
The information in this article applies to: - Microsoft Visual Basic programming system for Windows, versions 2.0 and 3.0
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 INFORMATION
Steps to Reproduce Problem
|
Additional reference words: buglist2.00 buglist3.00 fixlist4.00 2.00 3.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |