The information in this article applies to:
SYMPTOMSVisual FoxPro 5.0x produces random General Protection Faults or other memory related errors in the development or run-time environment and in Visual FoxPro OLE Automation Servers. Often, these errors are random and difficult, if not impossible, to reproduce consistently. CAUSEIn certain circumstances the CHRTRAN(), CHRTRANC(), and FULLPATH() functions are reading past the allocated buffer in memory. RESOLUTIONUse another string manipulation function to replace CHRTRAN(), CHRTRANC() or FULLPATH(). Check the Help file topic of each of the three functions and press the "See Also" jump for alternate functions that may be helpful. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This has been corrected in Visual FoxPro 6.0. MORE INFORMATION
These functions do not produce errors each time they are used. Often, a
programmer can rely on these functions to work without causing a problem.
The success or failure of these functions depends on how memory is
allocated in Visual FoxPro at a given time. Therefore, one application may
work fine while another produces memory errors. Since Visual FoxPro's
internal memory allocation depends on many factors that the programmer does
not control, the problem may appear intermittently.
REFERENCESVisual FoxPro Help; search on: "FULLPATH()"; "CHRTRAN()"; "CHRTRANC()" Additional query words: crash GPF internal consistency error hang kbvfp600fix kbvfp500
Keywords : kbVFp FxprgGeneral |
Last Reviewed: August 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |