Solved

error creating new classes in Visual Studio 6 and MFC

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

713 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