PRB: DoDefault() in Command Window Stops Visual FoxPro (174967)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 5.0a

This article was previously published under Q174967

SYMPTOMS

Typing DoDefault() in the Command window causes an application error in Visual FoxPro version 5.0a. In Windows 95, the error message below appears:
This program performed an illegal operation and will be shut down.
After pressing the Details push button, the following message appears:
VFP caused an invalid pagefault in module VFP .EXE at <register address>.
In Windows NT 4.0, the following error appears:
An application error had occurred and an application error log is being generated.
VFP.EXE
Exception: access violation.

STATUS

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

This also occurs with Visual Studio 97 Service Pack 2 installed. In Visual FoxPro version 5.0, typing DoDefault() in Command window error produces the following error message:
Statement is only valid within a Method

Steps to Reproduce Behavior

  1. In the Command window, type in the following command:
          DoDefault()
    							
NOTE: Visual FoxPro version 5.0a stops immediately after you press Enter.

Modification Type:MajorLast Reviewed:8/26/1999
Keywords:kberrmsg kbprb KB174967