Solved

undeclared identifier?

Posted on 2001-06-09
1
826 Views
Last Modified: 2013-11-20
Hi experts,

I inserted a dialog box CProgressDlg into my MFC and compiling showed no problem. Then I do #include "ProgressDlg.h" in another cpp file of the same project but compilling showed me error:
C:\..\ProgressDlg.h(21) : error C2065: 'IDD_ProgressDlg' : undeclared identifier
for the line
     enum { IDD = IDD_ProgressDlg };

It is very strange....I did the similar job many times...it must be very simple, but I need your help!
0
Comment
Question by:learn
1 Comment
 
LVL 1

Accepted Solution

by:
nrajan earned 50 total points
ID: 6171345
Also include resource.h into the .cpp file before where you included ProgressDlg.h Like

#include "resource.h"
#include "ProgressDlg.h"
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
Add content to output file 4 62
withoutTen challenge 14 97
sumHeights2  challenge 7 87
Can not remove SSL certificate on iPhone 6 - iOS10.2 12 229
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…
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 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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

947 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

22 Experts available now in Live!

Get 1:1 Help Now