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

x
?
Solved

error C2065

Posted on 1997-05-29
1
Medium Priority
?
386 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 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
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 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 user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

721 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