Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 363
  • Last Modified:

error creating new classes in Visual Studio 6 and MFC

Using the Class Wizard I try and create a new class. After filling in the name and base class I get the following error:

The files (xxx.h, xxx.cpp) for the new class "MyClass" contain remnant of that class.

Any idea why I am getting this error?

Thanks
0
louisgaga
Asked:
louisgaga
  • 2
1 Solution
 
AndyAinscowCommented:
Delete the .clw file and try again.
VC 'thinks' the class is already existing, probably from some error earlier.
0
 
AndyAinscowCommented:
My comment usually sorts this problem out
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now