Click here to Skip to main content
15,914,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSaving paint image (CDC) to file? Pin
Jim D2-Jun-03 4:41
Jim D2-Jun-03 4:41 
AnswerRe: Saving paint image (CDC) to file? Pin
basementman2-Jun-03 4:54
basementman2-Jun-03 4:54 
AnswerRe: Saving paint image (CDC) to file? Pin
dabs2-Jun-03 4:55
dabs2-Jun-03 4:55 
Questionhow can i get the DSN list? Pin
Peter Keung2-Jun-03 3:57
Peter Keung2-Jun-03 3:57 
AnswerRe: how can i get the DSN list? Pin
David Crow2-Jun-03 4:05
David Crow2-Jun-03 4:05 
GeneralRe: how can i get the DSN list? Pin
Peter Keung2-Jun-03 4:17
Peter Keung2-Jun-03 4:17 
GeneralRe: how can i get the DSN list? Pin
basementman2-Jun-03 4:38
basementman2-Jun-03 4:38 
GeneralRe: how can i get the DSN list? Pin
basementman2-Jun-03 4:39
basementman2-Jun-03 4:39 
GeneralRe: how can i get the DSN list? Pin
Peter Keung2-Jun-03 5:59
Peter Keung2-Jun-03 5:59 
GeneralRe: how can i get the DSN list? Pin
David Crow2-Jun-03 6:51
David Crow2-Jun-03 6:51 
GeneralInitCommonControlsEx sets Error 2 Pin
psychicfriend2-Jun-03 3:56
psychicfriend2-Jun-03 3:56 
GeneralRe: InitCommonControlsEx sets Error 2 Pin
psychicfriend2-Jun-03 4:56
psychicfriend2-Jun-03 4:56 
GeneralChanging fonts on the button Pin
Jump_Around2-Jun-03 3:36
Jump_Around2-Jun-03 3:36 
GeneralRe: Changing fonts on the button Pin
basementman2-Jun-03 4:41
basementman2-Jun-03 4:41 
GeneralEmbedding Flash movies in my app Pin
Florin Ochiana2-Jun-03 3:32
Florin Ochiana2-Jun-03 3:32 
GeneralRe: Embedding Flash movies in my app Pin
Zibar2-Jun-03 5:41
sussZibar2-Jun-03 5:41 
GeneralRe: Embedding Flash movies in my app Pin
abc8762-Jun-03 10:33
abc8762-Jun-03 10:33 
General#ifdef Pin
Zibar2-Jun-03 2:31
sussZibar2-Jun-03 2:31 
GeneralRe: #ifdef Pin
melwyn2-Jun-03 2:44
melwyn2-Jun-03 2:44 
GeneralRe: #ifdef Pin
Zibar2-Jun-03 3:19
sussZibar2-Jun-03 3:19 
GeneralRe: #ifdef Pin
Joaquín M López Muñoz2-Jun-03 3:56
Joaquín M López Muñoz2-Jun-03 3:56 
GeneralRe: #ifdef Pin
Zibar2-Jun-03 4:31
sussZibar2-Jun-03 4:31 
GeneralRe: #ifdef Pin
Daniel Turini2-Jun-03 5:28
Daniel Turini2-Jun-03 5:28 
GeneralRe: #ifdef Pin
Zibar2-Jun-03 10:39
sussZibar2-Jun-03 10:39 
Generalcorrection Pin
Zibar2-Jun-03 4:29
sussZibar2-Jun-03 4:29 
this is the exact error (sorry for my mistake before)it happens only with stdafx.h (precompiled header)

unexpected #endif

The #endif directive has no matching #if, #ifdef, or #ifndef directive. Be sure each #endif has a matching directive. The following sample generates C1020:

// C1020.cpp
// uncomment the below line to resolve the error
// #if 1
#endif // C1020

int main() {
}

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.