FIX: ATL Object Wizard Prevents Undo Changes
Article ID: 166723
Article Last Modified on 10/2/2003
APPLIES TO
- Microsoft ActiveX Template Library 2.1
- Microsoft ActiveX Template Library 3.0
This article was previously published under Q166723
SYMPTOMS
When using the Active Template Library (ATL) Object Wizard to add an
object to the ATL project, you might get a message box informing you that
the .idl and Stdafx.cpp files were modified outside the editor.
If you have edited the file, the work is saved before the wizard changes
the source. One bad side-effect of reloading is that the user cannot undo
any changes previous to the reload.
This mean that if you delete code, then run the ATL object wizard, there is
no way to get back to the original file using undo, and your original file
is lost.
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 Microsoft Visual C++ .NET.
Additional query words: kbvc500bug kbvc600bug kbatl210bug kbatl300bug
Keywords: kbbug kbfix kbnoupdate kbwizard KB166723