Solved

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

Posted on 2002-04-09
1
164 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

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
windows 10 how make picture as desktop background 2 58
while loop over for loop 7 93
zeroMAx challenge 20 88
Can not remove SSL certificate on iPhone 6 - iOS10.2 12 286
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…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 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

21 Experts available now in Live!

Get 1:1 Help Now