Re: undeclared identifier?

Discussion in 'C++' started by Ron Natalie, Jul 21, 2003.

  1. Ron Natalie

    Ron Natalie Guest

    "rajiv04" <> wrote in message news:...
    >
    > Hi
    >
    > I am running my C++ code(as a MFC) in MS VC++ and keep getting the error
    > message :undeclared identifier for 4 variables that are well defined in
    > resources. One of the error which I am getting of this type is:
    >
    > C:\Mywork\sample\ASTERIX48Dlg.cpp(668) : error C2065:
    > 'TIMER_TEST_ASTERIX48' : undeclared identifier
    >
    > Can anybody pls provide me the pointers where I might be wrong?
    >

    You don't declare TIMER_TEST_ASTERIX48 inside the TU that includes
    ASTERIX48Dlg.cpp. Is it in missing from an include file (or did you forget
    miss the include? (Guess: did you forget to
    incldue resource.h?)
     
    Ron Natalie, Jul 21, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Victor Bazarov

    Re: undeclared identifier?

    Victor Bazarov, Jul 21, 2003, in forum: C++
    Replies:
    2
    Views:
    2,645
    rajiv04
    Jul 22, 2003
  2. John Dibling

    Re: undeclared identifier?

    John Dibling, Jul 21, 2003, in forum: C++
    Replies:
    0
    Views:
    416
    John Dibling
    Jul 21, 2003
  3. Saurabh Aggrawal

    _asm NOP : undeclared identifier

    Saurabh Aggrawal, Dec 10, 2004, in forum: C++
    Replies:
    3
    Views:
    3,588
    Thomas Matthews
    Dec 10, 2004
  4. Javier
    Replies:
    5
    Views:
    29,643
  5. Replies:
    2
    Views:
    1,782
Loading...

Share This Page