Click here to Skip to main content
15,924,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPCH files the answer fo Mixing C++ and C Pin
ForNow1-Aug-07 16:52
ForNow1-Aug-07 16:52 
AnswerRe: PCH files the answer fo Mixing C++ and C Pin
Mark Salsbery1-Aug-07 17:09
Mark Salsbery1-Aug-07 17:09 
GeneralRe: PCH files the answer fo Mixing C++ and C Pin
ForNow1-Aug-07 18:51
ForNow1-Aug-07 18:51 
GeneralRe: PCH files the answer fo Mixing C++ and C Pin
Mark Salsbery1-Aug-07 19:14
Mark Salsbery1-Aug-07 19:14 
GeneralRe: PCH files the answer fo Mixing C++ and C Pin
ForNow1-Aug-07 23:37
ForNow1-Aug-07 23:37 
GeneralRe: PCH files the answer fo Mixing C++ and C Pin
Roger Broomfield1-Aug-07 21:27
Roger Broomfield1-Aug-07 21:27 
GeneralRe: PCH files the answer fo Mixing C++ and C Pin
ForNow1-Aug-07 23:44
ForNow1-Aug-07 23:44 
GeneralRe: PCH files the answer fo Mixing C++ and C Pin
Roger Broomfield2-Aug-07 2:14
Roger Broomfield2-Aug-07 2:14 
The convention for precompiled headers in MFC projects is to have two files in your project directory stdafx.h and stdafx.cpp, stdafx.h contains all the common defines for the project and stdafx.cpp is the module upon which the precompiled header is formed.

I just noticed this statement in your previous comment "I sm getting all kinds of problem including this in my second project since it is depdent on other headers in the first project". I missed that the first time around.

You CAN NOT 'extern "C" { #include "myCheader.h" }' a header file that includes defines of classes because classes are NOT C defines they are C++ defines.

You need to identify exactly what the problem is.
GeneralRe: PCH files the answer fo Mixing C++ and C Pin
ForNow2-Aug-07 6:25
ForNow2-Aug-07 6:25 
QuestionHow to display IDispatch interface on Doc/View [modified] Pin
mcnam1-Aug-07 15:48
mcnam1-Aug-07 15:48 
Questionprogrammatically check current (or selected) printer is dot-matrix printer, InkJet or Laser ? Pin
ana_v1231-Aug-07 15:33
ana_v1231-Aug-07 15:33 
AnswerRe: programmatically check current (or selected) printer is dot-matrix printer, InkJet or Laser ? Pin
Randor 1-Aug-07 22:01
professional Randor 1-Aug-07 22:01 
AnswerRe: programmatically check current (or selected) printer is dot-matrix printer, InkJet or Laser ? Pin
David Crow2-Aug-07 3:27
David Crow2-Aug-07 3:27 
GeneralRe: programmatically check current (or selected) printer is dot-matrix printer, InkJet or Laser ? Pin
ana_v1232-Aug-07 10:23
ana_v1232-Aug-07 10:23 
QuestionMixed Language Build C/C++ Pin
ForNow1-Aug-07 14:52
ForNow1-Aug-07 14:52 
AnswerRe: Mixed Language Build C/C++ Pin
Roger Broomfield1-Aug-07 18:11
Roger Broomfield1-Aug-07 18:11 
GeneralRe: Mixed Language Build C/C++ Pin
ForNow1-Aug-07 18:56
ForNow1-Aug-07 18:56 
QuestionRe: Heap problem?? desperately need help. Pin
Mark Salsbery1-Aug-07 10:25
Mark Salsbery1-Aug-07 10:25 
AnswerRe: Heap problem?? desperately need help. Pin
alberthyc1-Aug-07 10:32
alberthyc1-Aug-07 10:32 
GeneralRe: Heap problem?? desperately need help. Pin
Mark Salsbery1-Aug-07 10:42
Mark Salsbery1-Aug-07 10:42 
GeneralRe: Heap problem?? desperately need help. Pin
alberthyc1-Aug-07 11:05
alberthyc1-Aug-07 11:05 
GeneralRe: Heap problem?? desperately need help. Pin
Mark Salsbery1-Aug-07 11:23
Mark Salsbery1-Aug-07 11:23 
GeneralRe: Heap problem?? desperately need help. Pin
alberthyc1-Aug-07 11:32
alberthyc1-Aug-07 11:32 
GeneralRe: Heap problem?? desperately need help. Pin
Mark Salsbery1-Aug-07 11:37
Mark Salsbery1-Aug-07 11:37 
GeneralRe: Heap problem?? desperately need help. Pin
alberthyc1-Aug-07 11:46
alberthyc1-Aug-07 11:46 

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.