Article ID: 139001 - Last Review: May 4, 2001 - Revision: 1.0 PRB: Visual C++ Integration Does Not Recognize .CLW FilesThis article was previously published under Q139001 SYMPTOMS
In Visual C++ 4.0, you cannot check in or check out the Class Wizard status
file (.clw file) for a project that is based on Microsoft Foundation
Classes (MFC). The .clw file tracks the mapping between resources and
classes for a Visual C++ generated MFC project. The format of this text
file is undocumented, but it can be easily regenerated.
STATUS
This behavior is by design.
MORE INFORMATION
When you add a project to source control, Visual C++ does not allow you to
include the .clw file under source control. This is because, in a multi-
developer environment, it is easier to regenerate a .CLW file. Because the
format is undocumented, it would not be easy to merge a .CLW file that
results from several developers dynamically adding and removing resources,
classes, or OLE information to a project they are working on. When you check out a project that does not have a .CLW file, Visual C++ detects it and prompts you to recreate it. For a project MDI.MDP in the directory C:\CODE\MDI, you would get a message like this one:
The ClassWizard database "C:\code\mdi\MDI.CLW" does not exist.
Would you like to build it from your source files?
REFERENCES
Visual C++ 4.0 Help: Visual C++ Books; User's Guides; Visual C++ User's
Guide; Working With Classes; Working With Classes; Using ClassWizard MSDN Library: Using ClassWizard | Article Translations
|
Back to the top
