Click here to Skip to main content
15,915,867 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questioncalling webservice problem? Pin
ritz12347-Aug-08 20:34
ritz12347-Aug-08 20:34 
QuestionUnexpected #endif with stdafx.h Pin
Chesnokov Yuriy7-Aug-08 20:16
professionalChesnokov Yuriy7-Aug-08 20:16 
AnswerRe: Unexpected #endif with stdafx.h Pin
toxcct7-Aug-08 21:13
toxcct7-Aug-08 21:13 
AnswerRe: Unexpected #endif with stdafx.h Pin
Chesnokov Yuriy7-Aug-08 22:22
professionalChesnokov Yuriy7-Aug-08 22:22 
GeneralRe: Unexpected #endif with stdafx.h Pin
toxcct7-Aug-08 22:27
toxcct7-Aug-08 22:27 
AnswerRe: Unexpected #endif with stdafx.h Pin
Chesnokov Yuriy7-Aug-08 22:29
professionalChesnokov Yuriy7-Aug-08 22:29 
GeneralRe: Unexpected #endif with stdafx.h Pin
toxcct7-Aug-08 22:32
toxcct7-Aug-08 22:32 
AnswerRe: Unexpected #endif with stdafx.h Pin
Mark Salsbery8-Aug-08 8:55
Mark Salsbery8-Aug-08 8:55 
Actually, stdafx.h is not required anywhere, even in MFC apps.

The only required header files are the ones your code may need
to compile.

You are free to use or not use pre-compiled headers, and you can
name the associated pre-compiled header file anything you want to.

As mentioned, you need to turn off the use of precompiled headers
or you can change the name in the settings or the name of the file.

stdafx.h has been the default precompiled header file for so long
that many think it's required Smile | :)

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

QuestionDWORD PTR [modified] Pin
vikramlinux7-Aug-08 19:52
vikramlinux7-Aug-08 19:52 
AnswerRe: DWORD PTR Pin
SandipG 7-Aug-08 19:56
SandipG 7-Aug-08 19:56 
AnswerRe: Off Topic Pin
toxcct7-Aug-08 21:11
toxcct7-Aug-08 21:11 
GeneralRe: Off Topic Pin
vikramlinux7-Aug-08 22:34
vikramlinux7-Aug-08 22:34 
GeneralRe: Off Topic [modified] Pin
toxcct7-Aug-08 22:36
toxcct7-Aug-08 22:36 
AnswerRe: DWORD PTR Pin
Mark Salsbery8-Aug-08 9:00
Mark Salsbery8-Aug-08 9:00 
AnswerRe: DWORD PTR Pin
Dan9-Aug-08 21:31
Dan9-Aug-08 21:31 
GeneralRe: DWORD PTR Pin
vikramlinux10-Aug-08 18:51
vikramlinux10-Aug-08 18:51 
QuestionSetWindosLong and CallWindowProc Pin
Reese Wang7-Aug-08 19:51
Reese Wang7-Aug-08 19:51 
AnswerRe: SetWindosLong and CallWindowProc Pin
Hamid_RT7-Aug-08 23:19
Hamid_RT7-Aug-08 23:19 
QuestionLogical Drive Pin
Davitor7-Aug-08 19:21
Davitor7-Aug-08 19:21 
AnswerRe: Logical Drive Pin
SandipG 7-Aug-08 20:11
SandipG 7-Aug-08 20:11 
GeneralRe: Logical Drive Pin
Davitor7-Aug-08 20:20
Davitor7-Aug-08 20:20 
GeneralRe: Logical Drive Pin
SandipG 7-Aug-08 20:23
SandipG 7-Aug-08 20:23 
GeneralRe: Logical Drive Pin
Davitor7-Aug-08 20:49
Davitor7-Aug-08 20:49 
GeneralRe: Logical Drive Pin
SandipG 7-Aug-08 21:00
SandipG 7-Aug-08 21:00 
GeneralRe: Logical Drive Pin
Davitor7-Aug-08 21:09
Davitor7-Aug-08 21:09 

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.