Click here to Skip to main content
15,893,814 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: print .BMP file to printer ... how ? Pin
Hamid_RT7-Apr-08 2:29
Hamid_RT7-Apr-08 2:29 
QuestionUsing winsock, how can I tell if a system is listening for a connection on a port before I call connect? Pin
TragicComic29-Mar-08 10:39
TragicComic29-Mar-08 10:39 
AnswerRe: Using winsock, how can I tell if a system is listening for a connection on a port before I call connect? Pin
Moak29-Mar-08 13:29
Moak29-Mar-08 13:29 
GeneralReuse projects created in Visual Studio 6 in Visual C++ 2008 Express Edition issue Pin
gedinfo29-Mar-08 8:47
gedinfo29-Mar-08 8:47 
GeneralRe: Reuse projects created in Visual Studio 6 in Visual C++ 2008 Express Edition issue Pin
Randor 29-Mar-08 10:07
professional Randor 29-Mar-08 10:07 
Generalprecompiled header file Pin
George_George29-Mar-08 4:55
George_George29-Mar-08 4:55 
GeneralRe: precompiled header file Pin
Mark Salsbery29-Mar-08 7:24
Mark Salsbery29-Mar-08 7:24 
GeneralRe: precompiled header file Pin
George_George29-Mar-08 22:47
George_George29-Mar-08 22:47 
Thanks Mark,


I am reading MSDN definition for the file name parameter from,

http://msdn2.microsoft.com/zh-cn/library/7zc28563(en-us).aspx
[^]

here is the meaning for the file parameter from MSDN,

--------------------
Specifies a header (.h) file. When this argument is used, the compiler
compiles all code up to and including the .h file.
--------------------

For exmaple, we have a file like this,

// section 1
include "stdafx.h"
// section 2


1. Does it mean when we compile the file, only stdafx.h and section 2 are compiled?
2. Or does it mean when compiler do the precompile, section 1 and stdafx.h will be pre-compiled into some .pch file?


regards,
George
GeneralRe: precompiled header file Pin
rp_suman29-Mar-08 23:04
rp_suman29-Mar-08 23:04 
GeneralRe: precompiled header file Pin
George_George29-Mar-08 23:33
George_George29-Mar-08 23:33 
GeneralRe: precompiled header file Pin
rp_suman30-Mar-08 0:59
rp_suman30-Mar-08 0:59 
GeneralRe: precompiled header file Pin
George_George30-Mar-08 1:05
George_George30-Mar-08 1:05 
GeneralRe: precompiled header file Pin
Mark Salsbery30-Mar-08 7:59
Mark Salsbery30-Mar-08 7:59 
GeneralRe: precompiled header file Pin
George_George30-Mar-08 23:12
George_George30-Mar-08 23:12 
GeneralRe: precompiled header file Pin
Mark Salsbery31-Mar-08 5:28
Mark Salsbery31-Mar-08 5:28 
GeneralRe: precompiled header file Pin
George_George31-Mar-08 18:27
George_George31-Mar-08 18:27 
Questionsteps reqd to connect from VC++9 to oracle? Pin
Kashineni29-Mar-08 4:47
Kashineni29-Mar-08 4:47 
AnswerRe: steps reqd to connect from VC++9 to oracle? Pin
rp_suman29-Mar-08 6:52
rp_suman29-Mar-08 6:52 
QuestionProblem of MENUBAR? Pin
Le@rner29-Mar-08 2:15
Le@rner29-Mar-08 2:15 
AnswerRe: Problem of MENUBAR? Pin
rp_suman29-Mar-08 2:34
rp_suman29-Mar-08 2:34 
GeneralProblem of load icon in dialog box. Pin
Le@rner29-Mar-08 2:11
Le@rner29-Mar-08 2:11 
GeneralRe: Problem of load icon in dialog box. Pin
rp_suman29-Mar-08 2:25
rp_suman29-Mar-08 2:25 
General(Resolved): Problem of load icon in dialog box. Pin
Le@rner29-Mar-08 2:44
Le@rner29-Mar-08 2:44 
QuestionCan MFC call a WTL DLL with CString params? Pin
DaveB229-Mar-08 2:03
DaveB229-Mar-08 2:03 
QuestionA crisis with string table Pin
ganesa moorthy29-Mar-08 2:00
ganesa moorthy29-Mar-08 2:00 

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.