Solved

undeclared identifier?

Posted on 2001-06-09
1
823 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
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…
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 video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

706 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

16 Experts available now in Live!

Get 1:1 Help Now