PRB: ATL Object Wizard Cannot Add ATL Object to Existing File (199682)
The information in this article applies to:
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
This article was previously published under Q199682 SYMPTOMS
If you try to insert an ATL Object Wizard object into an existing .h or .cpp file, you get the following error message:
The file {filename} already exists. The Object Wizard requires a new file. Please enter another filename.
CAUSE
The ATL Object Wizard is not designed to insert objects into existing files. You need to provide a new file name for the .h and .cpp files.
RESOLUTION
This is by design.
STATUSNOTE: Microsoft Visual C++ version 6.0 does not have this limitation.
Modification Type: | Major | Last Reviewed: | 10/24/2003 |
---|
Keywords: | kbide kbprb kbwizard KB199682 |
---|
|