Click here to Skip to main content

C / C++ / MFC

 
GeneralRe: Structure containing byte[1] as member variable PinmemberRahul from Poona4-Sep-12 21:00 
GeneralRe: Structure containing byte[1] as member variable PinmvpRichard MacCutchan4-Sep-12 22:46 
AnswerRe: Structure containing byte[1] as member variable Pinmemberjschell4-Sep-12 12:46 
QuestionFinding crash information using the MAP file in vs2005 Pinmemberneha_soni4-Sep-12 2:10 
AnswerRe: Finding crash information using the MAP file in vs2005 PinmemberDavidCrow4-Sep-12 3:35 
AnswerRe: Finding crash information using the MAP file in vs2005 Pinmemberkrmed4-Sep-12 4:33 
AnswerRe: Finding crash information using the MAP file in vs2005 PinmemberStephen Hewitt6-Sep-12 22:46 
Question(SOLVED) make single executable file in vs2008 (MFC) [modified] Pinmemberjawadali4773-Sep-12 2: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) [modified] Pinmemberpasztorpisti3-Sep-12 3:05 
GeneralRe: make single executable file in vs2008 (MFC) [modified] Pinmemberjawadali4774-Sep-12 18:42 
GeneralRe: make single executable file in vs2008 (MFC) Pinmemberpasztorpisti5-Sep-12 0:04 
GeneralRe: make single executable file in vs2008 (MFC) Pinmemberjawadali4779-Sep-12 18:45 
GeneralRe: make single executable file in vs2008 (MFC) Pinmemberpasztorpisti9-Sep-12 22:26 
GeneralRe: make single executable file in vs2008 (MFC) Pinmemberjawadali47710-Sep-12 18:17 
AnswerRe: make single executable file in vs2008 (MFC) PinmemberStephen Hewitt3-Sep-12 17:51 
AnswerRe: make single executable file in vs2008 (MFC) PinmvpRichard MacCutchan3-Sep-12 23:22 
GeneralRe: make single executable file in vs2008 (MFC) Pinmemberpasztorpisti4-Sep-12 2:29 
GeneralRe: make single executable file in vs2008 (MFC) PinmvpRichard MacCutchan4-Sep-12 6:42 
AnswerRe: (SOLVED) make single executable file in vs2008 (MFC) PinmemberMember 103867337-Nov-13 6:00 
QuestionFile download from network drive Pinmembersunilkpv2-Sep-12 23:22 
AnswerRe: File download from network drive PinmvpRichard MacCutchan2-Sep-12 23:34 
Questiondailog based application PinmemberMember 93363302-Sep-12 22:08 
AnswerRe: dailog based application PinmvpRichard MacCutchan2-Sep-12 22:19 
GeneralRe: dailog based application Pinmemberpasztorpisti2-Sep-12 22:22 
GeneralRe: dailog based application PinmvpRichard MacCutchan2-Sep-12 23:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.150327.1 | Last Updated 27 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid