Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

undeclared identifier?

Posted on 2001-06-09
1
Medium Priority
?
842 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
nrajan earned 200 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

670 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