Solved

error creating new classes in Visual Studio 6 and MFC

Posted on 2003-11-21
5
334 Views
Last Modified: 2013-11-20
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
Comment
Question by:louisgaga
  • 2
5 Comments
 
LVL 44

Accepted Solution

by:
AndyAinscow earned 500 total points
ID: 9802165
Delete the .clw file and try again.
VC 'thinks' the class is already existing, probably from some error earlier.
0
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 11850375
My comment usually sorts this problem out
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MFC Dialog 9 51
java ^ examples 8 69
firstChar challenge 13 119
wordmultiple challenge 12 141
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question