Solved

error C2065

Posted on 1997-05-29
1
365 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 100 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

744 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

10 Experts available now in Live!

Get 1:1 Help Now