FIX: Issuing FONTMETRIC() Repeatedly Causes ICE/GPFLast reviewed: October 14, 1997Article ID: Q108823 |
2.50 2.50a 2.50b 2.60
WINDOWS
kbprg kbfixlist kbbuglist kberrmsg
The information in this article applies to:
SYMPTOMSIssuing the FONTMETRIC() function repeatedly can cause a Resource Manager Internal Consistency Error, followed by a general protection (GP) fault.
CAUSEThe problem seems to be that FoxPro is not releasing GDI resources correctly. If you issue the FONTMETRIC() function in a loop and have a resource viewer available, the GDI resource is depleted between 4 and 6 bytes per iteration. In order for the depletion to occur, the font name has to be changed and at least 25 fonts have to be installed in Windows.
STATUSMicrosoft has confirmed this to be a problem in FoxPro 2.5, 2.5a, 2.5b, and 2.6 for Windows. This problem was corrected in FoxPro 2.6a for Windows.
MORE INFORMATION
Steps to Reproduce Problem
|
Additional reference words: FoxWin 2.50 2.50a 2.50b 2.60 buglist2.50
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |