BUG: GP Fault If Report Variable Name Has More Than 10 CharsID: Q125308 2.60 2.60a WINDOWS kbtool kbenv kbbuglist The information in this article applies to:
SYMPTOMSA report containing a variable name that has more than 10 characters can cause a general protection (GP) fault when called from an executable created with the FoxPro for Windows Distribution Kit. The GP fault occurs even if no fields are present in the REPORT FORM. The .EXE works properly when called from the Command window in the development environment, but will cause a GP fault if run outside the development environment from a directory where FoxPro is not installed. The .EXE works correctly when run from the directory in which FoxPro is installed.
WORKAROUNDUse report variable names that have 10 or fewer characters.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Problem1. Create a new report, and make a quick report. 2. Add a report variable that has a name containing 11 or more characters 3. Save the report as <formname>.FRX, and close it.
4. Create a new project, and add the report to project. 5. Create a program (.PRG file) that contains this line:
6. Add the .PRG file to the project, and set it as the main program.
7. Build the .EXE. Then exit from FoxPro, and run the .EXE file. Make sure 8. The result will be a GP fault.
KBCategory: kbtool kbbuglist KBSubcategory: FxtoolDk buglist2.60 buglist2.60a Additional reference words: 2.60 2.60a FoxWin GPF
|
|
Last Reviewed: February 15, 1997 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |