BUG: ON SELE BAR and SET SYSMENU SAVE Uses 2 Memory HandlesLast reviewed: June 27, 1995Article ID: Q114292 |
The information in this article applies to:
SYMPTOMSSequentially using the ON SELECTION BAR and SET SYSMENU SAVE commands uses two memory handles. If these commands are repeated enough, all memory handles may eventually be allocated, causing the following error message:
Insufficient memory. STATUSMicrosoft has confirmed this to be a problem in FoxPro versions 2.5, 2.5a, 2.5b, and 2.6 for Windows and FoxPro versions 2.5, 2.5a, 2.5b, and 2.6 for MS-DOS. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThe following code uses two memory handles:
ON SELECTION BAR _mfi_new of _mfile WAIT WINDOW "Testing" SET SYSMENU SAVENOTE: ON SELECTION BAR and SET SYSMENU SAVE are used in the FOXSTART.APP application. FOXSTART.APP is normally run when FoxPro starts. For more information about FOXSTART.APP, see the FoxPro online Help topics "Configuring FoxPro" and "_STARTUP."
Steps to Reproduce ProblemRunning the following code eventually uses all memory handles, causing the "Insufficient Memory" error message:
DO WHILE .T. ON SELECTION BAR _mfi_new of _mfile WAIT WINDOW "Testing" SET SYSMENU SAVE ENDDO |
Additional reference words: FoxDos FoxWin 2.50 2.50a 2.50b 2.60 buglist2.50
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |