Click here to Skip to main content
15,918,889 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhy won't CStatic paint? Pin
murdoc515014-Jun-03 23:45
murdoc515014-Jun-03 23:45 
AnswerRe: Why won't CStatic paint? Pin
Stan the man15-Jun-03 2:34
Stan the man15-Jun-03 2:34 
GeneralRe: Why won't CStatic paint? Pin
murdoc515015-Jun-03 3:29
murdoc515015-Jun-03 3:29 
GeneralRe: Why won't CStatic paint? Pin
Stan the man15-Jun-03 15:25
Stan the man15-Jun-03 15:25 
GeneralRe: Why won't CStatic paint? Pin
murdoc515016-Jun-03 4:15
murdoc515016-Jun-03 4:15 
GeneralRe: Why won't CStatic paint? Pin
Stan the man16-Jun-03 5:20
Stan the man16-Jun-03 5:20 
GeneralAbout an "unexpected #else " probelm Pin
FlyingDancer14-Jun-03 21:22
FlyingDancer14-Jun-03 21:22 
GeneralRe: About an "unexpected #else " probelm Pin
Gary R. Wheeler15-Jun-03 2:49
Gary R. Wheeler15-Jun-03 2:49 
When you are using precompiled headers, the compiler skips everything up to the specified header file. The compiler doesn't preprocess or parse what it skips. In this case, it's skipping everything up to and including the line #include "StdAfx.h". The first line it sees is therefore the #else, hence the error message.

What are you trying to accomplish by making the precompiled header conditional?


Software Zen: delete this;
GeneralRe: About an "unexpected #else " probelm Pin
FlyingDancer15-Jun-03 3:21
FlyingDancer15-Jun-03 3:21 
QuestionDLL ? Pin
Stan the man14-Jun-03 20:20
Stan the man14-Jun-03 20:20 
AnswerRe: DLL ? Pin
Roger Allen16-Jun-03 1:54
Roger Allen16-Jun-03 1:54 
GeneralRe: DLL ? Pin
Stan the man16-Jun-03 5:24
Stan the man16-Jun-03 5:24 
GeneralQuestion about run at start up Pin
Mazdak14-Jun-03 19:38
Mazdak14-Jun-03 19:38 
GeneralRe: Question about run at start up Pin
valikac14-Jun-03 19:52
valikac14-Jun-03 19:52 
GeneralRe: Question about run at start up Pin
Mazdak14-Jun-03 20:01
Mazdak14-Jun-03 20:01 
GeneralRe: Question about run at start up Pin
Nicolas Bonamy14-Jun-03 20:30
Nicolas Bonamy14-Jun-03 20:30 
GeneralRe: Question about run at start up Pin
Mazdak14-Jun-03 20:54
Mazdak14-Jun-03 20:54 
GeneralRe: Question about run at start up Pin
Ryan Binns14-Jun-03 22:26
Ryan Binns14-Jun-03 22:26 
GeneralRe: Question about run at start up Pin
Mazdak14-Jun-03 22:56
Mazdak14-Jun-03 22:56 
GeneralRe: Question about run at start up Pin
Ryan Binns15-Jun-03 2:59
Ryan Binns15-Jun-03 2:59 
GeneralRe: Question about run at start up Pin
Anonymous15-Jun-03 0:33
Anonymous15-Jun-03 0:33 
GeneralRe: Question about run at start up Pin
Ryan Binns15-Jun-03 3:01
Ryan Binns15-Jun-03 3:01 
GeneralRe: Question about run at start up Pin
Mazdak15-Jun-03 7:20
Mazdak15-Jun-03 7:20 
GeneralRe: Question about run at start up Pin
Ryan Binns15-Jun-03 14:52
Ryan Binns15-Jun-03 14:52 
GeneralRe: Question about run at start up Pin
Mazdak15-Jun-03 20:56
Mazdak15-Jun-03 20:56 

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.