Solved

error creating new classes in Visual Studio 6 and MFC

Posted on 2003-11-21
5
329 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Define unique primary key 9 89
bigDiff challenge 17 84
MaxSpan challenge 9 80
JQuery serialize and unserialize 8 50
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
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.

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now