PRB: ClassWizard Unable to Create Files for New Class

ID: Q196796


The information in this article applies to:


SYMPTOMS

When you click OK on the dialog box to create a new class in ClassWizard, the following error message appears:

Unable to open the files <class>.h, <class>.cpp
You are running Cheyenne's InocuLAN for Windows NT on Microsoft Windows NT 4.0.


CAUSE

An interaction with the InocuLAN virus-scanning software causes ClassWizard to report incorrectly that file creation failed.


RESOLUTION

Two workarounds are suggested here:


MORE INFORMATION

Virus-scanning software interactions may cause other problems with Visual C++. For additional information, please see the following article in the Microsoft Knowledge Base:

Q185288 PRB: Cheyenne InocuLAN May Cause ATL Wizard to Crash DevStudio
For further information or support on InocuLAN, contact Cheyenne. You can reach Cheyenne at (800) 243-9462 or at the following web site:
http://www.cheyenne.com/Product-Info/windowsnt/inoculan-nt-menu.html

Steps to Reproduce Behavior

In these steps, it is assumed that you are running Microsoft Windows NT 4.0 with Cheyenne InocuLAN for Windows NT. The InocuLAN Realtime Monitor is set to monitor both incoming and outgoing files.

  1. Start Visual C++ 6.0.


  2. From the File menu, click New. On the Project tab, select MFC AppWizard (.exe). Name the project (TestWiz, for example). Click OK. Click Finish. Click OK at the confirmation dialog box.


  3. From the Insert menu, click Resource. Select Dialog, then click New.


  4. Double-click the new dialog box displayed in the resource editor.


  5. ClassWizard appears with a prompt to create a new class for the dialog box ID of the new dialog box; click OK.


  6. In the Name edit box, type in x; click OK.


A dialog box appears with the error message:
Unable to open the files x.h, x.cpp

Additional query words: kbDSupport


Keywords          : kbwizard kbVC600bug kbClassWizard kbGrpDSTools 
Version           : WINNT:6.0
Platform          : winnt 
Issue type        : kbprb 

Last Reviewed: July 28, 1999