Solved

newbie question: how to add a new class into MFC project?

Posted on 2002-04-09
1
171 Views
Last Modified: 2013-11-20
Hi Guys,

  I am having problem compiling my MFC project after I added a new C++ class into the project. This C++ class is a stand-alone class. It complains that the C++ class is not a class or namespace name....
0
Comment
Question by:zollen
1 Comment
 
LVL 3

Accepted Solution

by:
jsakhtar earned 50 total points
ID: 6929602
You need to #include the header that defines the class in the file that you are going to use it.

0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

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…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

697 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