Click here to Skip to main content
15,895,709 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Structure containing byte[1] as member variable Pin
Rahul from Poona4-Sep-12 20:00
Rahul from Poona4-Sep-12 20:00 
GeneralRe: Structure containing byte[1] as member variable Pin
Richard MacCutchan4-Sep-12 21:46
mveRichard MacCutchan4-Sep-12 21:46 
AnswerRe: Structure containing byte[1] as member variable Pin
jschell4-Sep-12 11:46
jschell4-Sep-12 11:46 
QuestionFinding crash information using the MAP file in vs2005 Pin
neha_soni4-Sep-12 1:10
neha_soni4-Sep-12 1:10 
AnswerRe: Finding crash information using the MAP file in vs2005 Pin
David Crow4-Sep-12 2:35
David Crow4-Sep-12 2:35 
AnswerRe: Finding crash information using the MAP file in vs2005 Pin
krmed4-Sep-12 3:33
krmed4-Sep-12 3:33 
AnswerRe: Finding crash information using the MAP file in vs2005 Pin
Stephen Hewitt6-Sep-12 21:46
Stephen Hewitt6-Sep-12 21:46 
Question(SOLVED) make single executable file in vs2008 (MFC) Pin
jawadali4773-Sep-12 1:26
jawadali4773-Sep-12 1:26 
hi,
i have developed program using MFC in vs2008 and now trying to build single executable file (.exe file) so that it can be used on other PCs. my source file contains both .c and .cpp files. i have tried to compile/build the program in Release mode but getting errors like:
fatal error C1853: 'Release\readtxtfile.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)

so i changed the properties of precompiled header from Use Precompiled Header (/Yu) to Create Precompiled Header (/Yc) and now i'm getting errors like:
error C2857: '#include' statement specified with the /Ycstdafx.h command-line option was not found in the source file

can anyone help me in this regard. i.e how to make executable file with source file containing both .c and .cpp files.

Regards
Jawad

modified 10-Sep-12 23:18pm.

AnswerRe: make single executable file in vs2008 (MFC) Pin
pasztorpisti3-Sep-12 2:05
pasztorpisti3-Sep-12 2:05 
GeneralRe: make single executable file in vs2008 (MFC) Pin
jawadali4774-Sep-12 17:42
jawadali4774-Sep-12 17:42 
GeneralRe: make single executable file in vs2008 (MFC) Pin
pasztorpisti4-Sep-12 23:04
pasztorpisti4-Sep-12 23:04 
GeneralRe: make single executable file in vs2008 (MFC) Pin
jawadali4779-Sep-12 17:45
jawadali4779-Sep-12 17:45 
GeneralRe: make single executable file in vs2008 (MFC) Pin
pasztorpisti9-Sep-12 21:26
pasztorpisti9-Sep-12 21:26 
GeneralRe: make single executable file in vs2008 (MFC) Pin
jawadali47710-Sep-12 17:17
jawadali47710-Sep-12 17:17 
AnswerRe: make single executable file in vs2008 (MFC) Pin
Stephen Hewitt3-Sep-12 16:51
Stephen Hewitt3-Sep-12 16:51 
AnswerRe: make single executable file in vs2008 (MFC) Pin
Richard MacCutchan3-Sep-12 22:22
mveRichard MacCutchan3-Sep-12 22:22 
GeneralRe: make single executable file in vs2008 (MFC) Pin
pasztorpisti4-Sep-12 1:29
pasztorpisti4-Sep-12 1:29 
GeneralRe: make single executable file in vs2008 (MFC) Pin
Richard MacCutchan4-Sep-12 5:42
mveRichard MacCutchan4-Sep-12 5:42 
AnswerRe: (SOLVED) make single executable file in vs2008 (MFC) Pin
Member 103867337-Nov-13 5:00
Member 103867337-Nov-13 5:00 
QuestionFile download from network drive Pin
Sunil P V2-Sep-12 22:22
Sunil P V2-Sep-12 22:22 
AnswerRe: File download from network drive Pin
Richard MacCutchan2-Sep-12 22:34
mveRichard MacCutchan2-Sep-12 22:34 
Questiondailog based application Pin
Member 93363302-Sep-12 21:08
Member 93363302-Sep-12 21:08 
AnswerRe: dailog based application Pin
Richard MacCutchan2-Sep-12 21:19
mveRichard MacCutchan2-Sep-12 21:19 
GeneralRe: dailog based application Pin
pasztorpisti2-Sep-12 21:22
pasztorpisti2-Sep-12 21:22 
GeneralRe: dailog based application Pin
Richard MacCutchan2-Sep-12 22:32
mveRichard MacCutchan2-Sep-12 22:32 

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.