The information in this article applies to:
SYMPTOMSRepeatedly displaying a message box or modal form in a Visual Basic for MS-DOS program may incorrectly cause permanent far-heap memory loss. This memory is not recovered until you terminate the VBDOS.EXE environment or end your compiled program (if running a compiled .EXE). The memory loss only occurs if the code is part of a Sub or Function procedure and not part of the module-level code in a startup module. WORKAROUNDTo work around the problem, do not show forms modally. STATUSMicrosoft has confirmed this to be a bug in both the Standard and Professional Editions of Microsoft Visual Basic version 1.0 for MS-DOS. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONThe amount of memory lost with each form shown depends on the number of controls on the form. More memory is lost with more controls. Steps to Reproduce Problem
Additional query words: VBmsdos buglist1.00 1.00
Keywords : |
Last Reviewed: December 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |