Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

error C2065

Posted on 1997-05-29
1
Medium Priority
?
388 Views
Last Modified: 2012-05-04
OS - NT 4.0
Compiler 4.2 Enterprise edition

I imported the OLE Grid Control that ships with the product.
I registered the componenet and put it on a dialog box. I
then created a class and bound it to the dialog box using
the class wizard.
The problem is that the class does not recognize the dialog
bos and I get error C2065: 'IDD_SETFORMULAGRID' : undeclared identifier where IDD_SETFORMULAGRID is the dialog box linked
in the wizard.
0
Comment
Question by:yblank
1 Comment
 

Accepted Solution

by:
laleonard earned 300 total points
ID: 1163749
I bet the problem is that the compiler cannot "see" the definition of IDD_SETFORMULAGRID in the resource.h file.You may need to #include either "resource.h" in your dialog box class' implementation file (MyFormulaGridDlgBox.cpp, or whatever), or you could include your applications's header (MyApp.h, or whatever) in that same file (since it probably #include's resource.h).
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses

971 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