Solved

error C2065

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

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

632 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