PRB: RETRY Command in Method Causes Visual FoxPro to QuitID: Q142736 3.00 3.00b WINDOWS kbprg kbprb The information in this article applies to:
SYMPTOMSAn "ON ERROR <object>.<method>" command is used to trap for an error. The ON ERROR command calls a method of an object. Inside the method, RETRY will trigger a "Mismatched pushjmp/popjmp call" error, which is not listed in the Help File. After you click OK, Visual FoxPro quits.
WORKAROUNDDo not call a method from an ON ERROR command. Call a program file instead.
STATUSMicrosoft is researching this behavior and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Behavior1. Create a new form. 2. Add the following code to the form's Load event:
3. Create a new method of the form called Mymethod, and type the following
4. Place a command button on the form, and enter the following code in its
5. Run the form, and click the command button. The Error "Mismatched'
6. Click OK, and Visual FoxPro quits.
Additional reference words: 3.00 3.00b VFoxWin crash terminate abort KBCategory: kbprg kbprb KBSubcategory: FxprgClassoop
|
Last Reviewed: January 19, 1996 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |