FIX: ClassWizard Cannot Read .CLW File > 65530 BytesLast reviewed: September 16, 1997Article ID: Q104238 |
1.00 | 1.00WINDOWS | WINDOWS NT kbtool kbfixlist kbbuglist The information in this article applies to:
SYMPTOMSInvoking ClassWizard produces the following message:
Out of memory. Unable to complete command CAUSEThe project .CLW file (containing Class Wizard information) may have grown larger than 65530 bytes. This can occur if a project contains many classes that have been created using Class Wizard.
RESOLUTIONThere are two possible workarounds for this problem:
Second, the project will lose information that maps resources created in App Studio to classes created in ClassWizard. For example, when a developer invokes Class Wizard when a dialog box resource is present in App Studio, ClassWizard keeps information in the .CLW file that tells it which class is associated with that resource (information for the class is displayed). If the .CLW file is deleted, the user may be asked to select a class for the resource. This can cause a problem. Consider the following scenario:
When an attempt is made to create a class for the dialog box, a list box appears on the screen asking which class is to be associated with the dialog box rather than the Add Class dialog box. Because no class has yet been created by ClassWizard, the list box is inappropriate. To resolve the problem, go to the Visual Workbench instead and invoke ClassWizard. Select Add Class from the ClassWizard dialog box. You will then be permitted to create a class for the dialog box, as well as specify the ID of the dialog box resource that will be associated with the class.
STATUSMicrosoft has confirmed this to be a bug in the products listed at the beginning of this article. This bug was corrected in Microsoft Visual C++ for Windows version 1.5.
REFERENCESSee Chapter 9 in the App Studio "User's Guide" for more information about rebuilding the .CLW file.
|
Additional reference words: 1.00 1.10 listbox combobox 64K
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |