Article ID: 196796
Article Last Modified on 9/18/2003
APPLIES TO
- Microsoft Visual C++ 6.0 Professional Edition
- Microsoft Visual C++ 6.0 Enterprise Edition
- Microsoft Visual C++ 6.0 Standard Edition
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.
RESOLUTION
The 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..
STATUS
Microsoft
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.
Additional query words: kbDSupport
Keywords: kbbug kbfix kbnoupdate kbwizard KB196796