FIX: Rebuilding .CLW File Does Not Restore Link to ODL File (135049)
The information in this article applies to:
- Microsoft Visual C++ 2.0
- Microsoft Visual C++ 2.1
This article was previously published under Q135049 SYMPTOMS
A project's Object Description Language (ODL) file is not updated when new
automation properties and methods are added using ClassWizard. The
project's ClassWizard (.clw) file has been deleted and rebuilt prior to the
occurrence of this behavior. All properties and methods added before the
rebuilding of the ClassWizard file are still correctly listed in the ODL
file.
CAUSE
When the .clw file is rebuilt by the development environment, the ODLFile=
keyword line is not added to the new file.
RESOLUTION
The ODLFile= entry must be manually added to the .clw file so that
ClassWizard can add properties and methods to the ODL file. The ODLFile=
entry can be added by using the development environment editor or Notepad.
Manually adding the ODLFile= entry will not automatically update the ODL
file to bring it back in synch with ClassWizard. Any properties and methods
that were added via ClassWizard while the ODLFile= entry was missing from
the .clw file must be either manually added to the ODL file or removed and
then added again by using the ClassWizard.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug was corrected in Visual C++
version 2.2 for Windows NT.
Modification Type: | Major | Last Reviewed: | 10/17/2003 |
---|
Keywords: | kbBug kbfix kbNoUpdate kbVC220fix kbwizard KB135049 |
---|
|