Solved

error C2065

Posted on 1997-05-29
1
383 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
[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
 

Accepted Solution

by:
laleonard earned 100 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

739 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