FIX: ClassWizard Unable to Create Files for New Class (196796)
The information in this article applies to:
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
This article was previously published under Q196796 SYMPTOMS When you click OK in the dialog box to
create a new class in ClassWizard, you receive the following error message:
Unable to open the files <class>.h,
<class>.cpp You are running Cheyenne's InocuLAN or
InoculateIT. This problem has been seen on both Windows 2000 and Windows NT
4.0. CAUSE An interaction with the InocuLAN or InoculateIT
virus-scanning software causes ClassWizard to report incorrectly that file
creation failed. RESOLUTIONThe best workaround is to exclude the .clw, .h, and .cpp
files from being scanned by the antivirus software. This prevents the sharing
violation that occurs when the antivirus software and Visual Studio try to
access the files at the same time. You can also use one of the
following alternate workarounds:
- Start the InocuLAN or InoculateIT Realtime Monitor if it is
not already started. On the Explorer taskbar, right-click the InocuLAN or
InoculateIT Realtime Monitor icon. Click Monitor Incoming Files.
- Close the project workspace and delete the project's .clw
file. Reopen the project, load ClassWizard, and rebuild the .clw database at
the prompt..
STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
at the beginning of this article.
This problem was corrected in Microsoft Visual C++
.NET.
Modification Type: | Major | Last Reviewed: | 9/18/2003 |
---|
Keywords: | kbBug kbfix kbNoUpdate kbwizard KB196796 |
---|
|