PRB: ATL Object Wizard Cannot Add ATL Object to Existing FileID: Q199682
|
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.
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.
This is by design.
NOTE: Microsoft Visual C++ version 6.0 does not have this limitation.
The file obj1.h already exists. The Object Wizard requires a new file. Please enter another filename.
Additional query words:
Keywords : kbwizard kbATL kbVC500
Version : winnt:5.0
Platform : winnt
Issue type : kbprb
Last Reviewed: March 27, 1999