FIX: GETFONT() & FONTMETRIC() Cause GP Fault and/or ICELast reviewed: September 22, 1997Article ID: Q123719 |
2.60a
WINDOWS
kbtool kbfixlist kbbuglist
The information in this article applies to:
SYMPTOMSAn internal consistency error (ICE) followed by a general protection (GP) fault occurs in TRANSPRT.PRG.
CAUSEThe default font was changed in the program.
RESOLUTIONRemove the "ACTIVATE WINDOW transtemp NOSHOW" line from the top of the Askfont function in TRANSPRT.PRG.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual FoxPro 3.0 for Windows.
MORE INFORMATION
Steps to Reproduce ProblemWARNING: The following will cause an Internal Consistency Error followed by a GP fault. Execute the following program. Be sure to select a different font in the GETFONT() dialog and choose OK.
MODIFY WINDOW SCREEN FONT "Arial",10 && Change the screen font m.fontstrg=GETFONT() && Must change the font x=fontmetric(1,"Arial",12,"") && Call Fontmetric y=fontmetric(6,"Arial",12,"") && Sometimes it takes twiceThere will be an ICE followed by a GP fault, generally on the first FONTMETRIC() call, but sometimes on the second.
|
Additional reference words: FoxWin VFoxWin 2.60a fixlist3.00 buglist2.60a
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |