Solved

error creating new classes in Visual Studio 6 and MFC

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

777 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