BUG: Using Class Wizard Without a Project Loaded May Hang

Last reviewed: July 22, 1997
Article ID: Q116184
1.00 1.50 WINDOWS kbtool kbbuglist

The information in this article applies to:

  • The ClassWizard included with:

        - Microsoft Visual C++ for Windows, versions 1.0 and 1.5
    

SYMPTOMS

When you run Visual C++ for Windows under 16-bit Windows, creating a class with ClassWizard when no project is loaded may generate a dialog box that does not accept user input.

STATUS

Microsoft has confirmed this to be a problem with Visual C++ for Windows, versions 1.0 and 1.5. We are researching this problem and will post more information in the Microsoft Knowledge Base when it becomes available.

The problem does not occur with Visual C++ 32-bit Edition, version 1.0 or 2.0.

MORE INFORMATION

ClassWizard should only be used when a project has been loaded into the Visual Workbench.

To reproduce this problem, perform the following steps:

  1. Have the Visual Workbench running, but do not load a project.

  2. Create a resource script in App Studio, and save it.

  3. Launch ClassWizard from App Studio. ClassWizard asks to create a .CLW file from your sources; choose "Yes."

  4. A dialog box asks you to select files for the .CLW file; select a file and choose "OK."

  5. Once in ClassWizard, choose the Add Class command button.

  6. Type in a name for the new class and select its base class.

  7. Press the Create Class command button.

At this point you should see a dialog box that asking whether you would like to create the project, but it accepts no user input. You will probably have to reboot your computer.


Additional reference words: 1.00 1.50
KBCategory: kbtool kbbuglist
KBSubcategory: WizardIss
Keywords : kb16bitonly


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.