Article ID: 167339
Article Last Modified on 10/17/2003
APPLIES TO
- Microsoft Visual C++ 5.0 Enterprise Edition
- Microsoft Visual C++ 5.0 Professional Edition
This article was previously published under Q167339
SYMPTOMS
When you add the New Class to an ATL project, the Wizard removes settings on the edit interface.
RESOLUTION
When you add a new class object, make sure that interface attributes are set correctly in the New Class dialog box before you click OK. If you add the class with the incorrect attributes, you need to edit the header and the idl file manually.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual C++ version 6.0 for Windows.
MORE INFORMATION
Steps to Reproduce Behavior
- Create a new ATL project using the AppWizard.
- Get the context menu and click New Class.
- Enter a name for the class. NOTE: The Edit button is not initially enabled.
- Click Change, and then Cancel Out to activate the Edit button.
- Click Custom Interface.
- Clear the Aggregatable check box.
- Click Edit, and then Cancel Out.
Observe that the Wizard changed the interface type back to dual, and turned Aggregatable back on.
Keywords: kbbug kbfix kbvc600fix kbwizard KB167339