BUG: Creating 500 Instances of a Form Class Causes IC ErrorID: Q135519 The information in this article applies to:
SYMPTOMSAttempts to create 500 instances of a form class containing a small number of controls in a FOR loop causes an "Internal Consistency Error" (ICE). The number of instances it can instantiate from a form class before an ICE occurs depends on the amount of RAM and the operating system on your computer. NOTE: On 16-bit operating systems, such as Windows for Workgroups 3.11, you may get the following error message instead of an ICE:
In Visual FoxPro 5.0, the message "Too Many Windows Open" appears and the
program ends. FoxPro does not exit.
In Visual FoxPro 5.0a, the message "Too Many Windows Open" appears, and the program removes all the instances of the form class from the screen. FoxPro does not abnormally terminate.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Problem1. Enter the following command in the Command window:
2. Add the following objects to the form:
3. Press CTRL+W to save the class, and exit from the Class Designer.
4. Enter the following command in the Command window:
5. Type the following code into Mul_Inst.prg:
6. Enter the following command in the Command window:
Additional query words: kbvfp300b kbvfp500 kbvfp600
|
Last Reviewed: August 10, 1998 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |