Microsoft KB Archive/305041

= FIX: Fatal Error When Closing Second Instance of Class Designer =

Article ID: 305041

Article Last Modified on 8/28/2001

-

APPLIES TO


 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a
 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q305041



SYMPTOMS
In Visual FoxPro 6.0, if you issue the SET RESOURCE ON command and you have two instances of the Class Designer open, when you close the second instance of the Class Designer, you may see the following error message:

Fatal exception: Error code=C0000005

NOTE: In Visual FoxPro 5.0a, you do not need to issue the SET RESOURCE ON command to see the error.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

This problem was corrected in Visual FoxPro version 7.0 for Windows.



Steps to Reproduce Behavior
  In Visual FoxPro 6.0, create a program that contains the following code: SET RESOURCE ON CLEAR ALL DELETE FILE atemp.vc? DELETE FILE ctemp.vc? CREATE CLASS atextbox AS TEXTBOX OF atemp.vcx NOWAIT KEYBOARD '{ctrl+w}' MODI CLASS ctextbox AS TEXTBOX OF ctemp.vcx RETURN  Close the program and all other windows. Run the program and the error occurs.

Keywords: kbbug kbfix kbdesigner kbvfp700fix KB305041

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.