Click here to Skip to main content
16,008,299 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: error C2653: 'TryIt' : is not a class or namespace name Pin
Mark Salsbery16-Apr-07 10:31
Mark Salsbery16-Apr-07 10:31 
GeneralRe: error C2653: 'TryIt' : is not a class or namespace name Pin
cp987616-Apr-07 18:44
cp987616-Apr-07 18:44 
GeneralRe: error C2653: 'TryIt' : is not a class or namespace name Pin
nathan716-Apr-07 23:46
nathan716-Apr-07 23:46 
GeneralRe: error C2653: 'TryIt' : is not a class or namespace name Pin
Mark Salsbery17-Apr-07 6:25
Mark Salsbery17-Apr-07 6:25 
GeneralRe: error C2653: 'TryIt' : is not a class or namespace name Pin
JudyL_MD17-Apr-07 8:00
JudyL_MD17-Apr-07 8:00 
GeneralRe: error C2653: 'TryIt' : is not a class or namespace name Pin
Mark Salsbery17-Apr-07 8:06
Mark Salsbery17-Apr-07 8:06 
GeneralRe: error C2653: 'TryIt' : is not a class or namespace name Pin
JudyL_MD17-Apr-07 8:12
JudyL_MD17-Apr-07 8:12 
GeneralRe: error C2653: 'TryIt' : is not a class or namespace name Pin
cp987617-Apr-07 13:20
cp987617-Apr-07 13:20 
I think this comment in MSDN is pretty poor:

--------------------------------------------------------
This behavior can lead to compiler errors that do not seem to make sense, because it appears that you are including all the needed declarations and header files in the .CPP file. For example, some of the errors that may result are the following:

• error C2065: 'CTestClass' : undeclared identifier
• error C2146: syntax error : missing ';' before identifier 'tc'
• error C2064: term does not evaluate to a function
--------------------------------------------------------

surely this should have been a signal to someone that their precompiled header logic needs some improvement - simply checking that the headers precompiled in the top level file would trap most mistakes.



Peter
"Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."

GeneralRe: error C2653: 'TryIt' : is not a class or namespace name Pin
Michael Dunn17-Apr-07 18:14
sitebuilderMichael Dunn17-Apr-07 18:14 
QuestionControl Font Pin
baerten15-Apr-07 21:04
baerten15-Apr-07 21:04 
AnswerRe: Control Font Pin
Gospodin Baron15-Apr-07 22:05
Gospodin Baron15-Apr-07 22:05 
AnswerRe: Control Font Pin
Hamid_RT15-Apr-07 22:13
Hamid_RT15-Apr-07 22:13 
NewsRe: Control Font Pin
baerten16-Apr-07 0:34
baerten16-Apr-07 0:34 
GeneralRe: Control Font Pin
Hamid_RT16-Apr-07 0:51
Hamid_RT16-Apr-07 0:51 
QuestionDHCP identification? Pin
Sunil P V15-Apr-07 20:43
Sunil P V15-Apr-07 20:43 
QuestionForms Pin
ibhelmer15-Apr-07 20:39
ibhelmer15-Apr-07 20:39 
AnswerRe: Forms Pin
baerten15-Apr-07 21:06
baerten15-Apr-07 21:06 
AnswerRe: Forms Pin
toxcct15-Apr-07 22:47
toxcct15-Apr-07 22:47 
QuestionHow to change the colour of a mainframe or dialog Pin
yaminisridaran15-Apr-07 20:05
yaminisridaran15-Apr-07 20:05 
AnswerRe: How to change the colour of a mainframe or dialog Pin
Programm3r15-Apr-07 21:08
Programm3r15-Apr-07 21:08 
QuestionRe: How to change the colour of a mainframe or dialog Pin
Hamid_RT15-Apr-07 22:12
Hamid_RT15-Apr-07 22:12 
AnswerRe: How to change the colour of a mainframe or dialog Pin
yaminisridaran15-Apr-07 22:38
yaminisridaran15-Apr-07 22:38 
GeneralRe: How to change the colour of a mainframe or dialog Pin
Hamid_RT16-Apr-07 0:45
Hamid_RT16-Apr-07 0:45 
QuestionMessagebox on cross button of SDI window Pin
neha.agarwal2715-Apr-07 19:49
neha.agarwal2715-Apr-07 19:49 
AnswerRe: Messagebox on cross button of SDI window Pin
prasad_som15-Apr-07 20:01
prasad_som15-Apr-07 20:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.