Visual studio 2005 C++ error C2065

  • Thread starter Thread starter pnadathur
  • Start date Start date
P

pnadathur

Guest
I need help understanding why I am getting error C2065 in the files listed below. The all include "stdafx.h" file.

I tried moving the DEFINE_TAB_PAGE as part of the class declaration and that didn't help.

Thanks,

Priya


#include "stdafx.h"
REPMFuncChkDlg.cpp
DEFINE_TAB_PAGE( CREPMFuncChkDlg, eFunctionCheckPage, _T("Function Check") )
.\REPMFuncChkDlg.cpp(44) : error C2065: 'eFunctionCheckPage' : undeclared identifier
MyDlg9.cpp
DEFINE_TAB_PAGE( MyDlg9, eTestingPage, _T("Testing") )
.\MyDlg9.cpp(41) : error C2065: 'eTestingPage' : undeclared identifier
MyDlg7.cpp
DEFINE_TAB_PAGE( MyDlg7, eTFA_DTFPage, _T("TFA/DTF") )
.\MyDlg7.cpp(18) : error C2065: 'eTFA_DTFPage' : undeclared identifier
MyDlg11.cpp
DEFINE_TAB_PAGE( MyDlg11, eREPMOnlyAutoPage, _T("REPM Only Auto") )
.\MyDlg11.cpp(31) : error C2065: 'eREPMOnlyAutoPage' : undeclared identifier

Continue reading...
 
Back
Top