Click here to Skip to main content
12,622,652 members (26,519 online)

C / C++ / MFC

 
GeneralRe: Structure containing byte[1] as member variable Pin
jschell14-Sep-12 9:41
memberjschell14-Sep-12 9:41 
GeneralRe: Structure containing byte[1] as member variable Pin
Stefan_Lang5-Sep-12 2:57
memberStefan_Lang5-Sep-12 2:57 
GeneralRe: Structure containing byte[1] as member variable Pin
jschell5-Sep-12 12:26
memberjschell5-Sep-12 12:26 
GeneralRe: Structure containing byte[1] as member variable Pin
Stefan_Lang6-Sep-12 3:53
memberStefan_Lang6-Sep-12 3:53 
GeneralRe: Structure containing byte[1] as member variable Pin
jschell6-Sep-12 9:28
memberjschell6-Sep-12 9:28 
AnswerRe: Structure containing byte[1] as member variable Pin
Richard MacCutchan4-Sep-12 10:07
mvpRichard MacCutchan4-Sep-12 10:07 
GeneralRe: Structure containing byte[1] as member variable Pin
Rahul from Poona4-Sep-12 21:00
memberRahul from Poona4-Sep-12 21:00 
GeneralRe: Structure containing byte[1] as member variable Pin
Richard MacCutchan4-Sep-12 22:46
mvpRichard MacCutchan4-Sep-12 22:46 
AnswerRe: Structure containing byte[1] as member variable Pin
jschell4-Sep-12 12:46
memberjschell4-Sep-12 12:46 
QuestionFinding crash information using the MAP file in vs2005 Pin
neha_soni4-Sep-12 2:10
memberneha_soni4-Sep-12 2:10 
AnswerRe: Finding crash information using the MAP file in vs2005 Pin
DavidCrow4-Sep-12 3:35
memberDavidCrow4-Sep-12 3:35 
AnswerRe: Finding crash information using the MAP file in vs2005 Pin
krmed4-Sep-12 4:33
memberkrmed4-Sep-12 4:33 
AnswerRe: Finding crash information using the MAP file in vs2005 Pin
Stephen Hewitt6-Sep-12 22:46
memberStephen Hewitt6-Sep-12 22:46 
Question(SOLVED) make single executable file in vs2008 (MFC) Pin
jawadali4773-Sep-12 2:26
memberjawadali4773-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) Pin
pasztorpisti3-Sep-12 3:05
memberpasztorpisti3-Sep-12 3:05 
GeneralRe: make single executable file in vs2008 (MFC) Pin
jawadali4774-Sep-12 18:42
memberjawadali4774-Sep-12 18:42 
GeneralRe: make single executable file in vs2008 (MFC) Pin
pasztorpisti5-Sep-12 0:04
memberpasztorpisti5-Sep-12 0:04 
GeneralRe: make single executable file in vs2008 (MFC) Pin
jawadali4779-Sep-12 18:45
memberjawadali4779-Sep-12 18:45 
GeneralRe: make single executable file in vs2008 (MFC) Pin
pasztorpisti9-Sep-12 22:26
memberpasztorpisti9-Sep-12 22:26 
GeneralRe: make single executable file in vs2008 (MFC) Pin
jawadali47710-Sep-12 18:17
memberjawadali47710-Sep-12 18:17 
AnswerRe: make single executable file in vs2008 (MFC) Pin
Stephen Hewitt3-Sep-12 17:51
memberStephen Hewitt3-Sep-12 17:51 
AnswerRe: make single executable file in vs2008 (MFC) Pin
Richard MacCutchan3-Sep-12 23:22
mvpRichard MacCutchan3-Sep-12 23:22 
GeneralRe: make single executable file in vs2008 (MFC) Pin
pasztorpisti4-Sep-12 2:29
memberpasztorpisti4-Sep-12 2:29 
GeneralRe: make single executable file in vs2008 (MFC) Pin
Richard MacCutchan4-Sep-12 6:42
mvpRichard MacCutchan4-Sep-12 6:42 
AnswerRe: (SOLVED) make single executable file in vs2008 (MFC) Pin
Member 103867337-Nov-13 6:00
memberMember 103867337-Nov-13 6:00 
QuestionFile download from network drive Pin
sunilkpv2-Sep-12 23:22
membersunilkpv2-Sep-12 23:22 
AnswerRe: File download from network drive Pin
Richard MacCutchan2-Sep-12 23:34
mvpRichard MacCutchan2-Sep-12 23:34 
Questiondailog based application Pin
Member 93363302-Sep-12 22:08
memberMember 93363302-Sep-12 22:08 
AnswerRe: dailog based application Pin
Richard MacCutchan2-Sep-12 22:19
mvpRichard MacCutchan2-Sep-12 22:19 
GeneralRe: dailog based application Pin
pasztorpisti2-Sep-12 22:22
memberpasztorpisti2-Sep-12 22:22 
GeneralRe: dailog based application Pin
Richard MacCutchan2-Sep-12 23:32
mvpRichard MacCutchan2-Sep-12 23:32 
AnswerRe: dailog based application Pin
Stefan_Lang5-Sep-12 3:14
memberStefan_Lang5-Sep-12 3:14 
Question[MFC mouseclick on image] Pin
hosiduy2-Sep-12 21:44
memberhosiduy2-Sep-12 21:44 
AnswerRe: [MFC mouseclick on image] Pin
Richard MacCutchan2-Sep-12 22:17
mvpRichard MacCutchan2-Sep-12 22:17 
GeneralRe: [MFC mouseclick on image] Pin
pasztorpisti2-Sep-12 22:20
memberpasztorpisti2-Sep-12 22:20 
GeneralRe: [MFC mouseclick on image] Pin
Richard MacCutchan2-Sep-12 23:30
mvpRichard MacCutchan2-Sep-12 23:30 
AnswerRe: [MFC mouseclick on image] Pin
pasztorpisti2-Sep-12 22:17
memberpasztorpisti2-Sep-12 22:17 
Questionthis is question please give me the logic as early as possible Pin
naveen sai2-Sep-12 21:16
membernaveen sai2-Sep-12 21:16 
AnswerRe: this is question please give me the logic as early as possible Pin
Richard MacCutchan2-Sep-12 22:15
mvpRichard MacCutchan2-Sep-12 22:15 
QuestionOverlapped I/O Pin
Rahul from Poona2-Sep-12 4:30
memberRahul from Poona2-Sep-12 4:30 
AnswerRe: Overlapped I/O Pin
Richard MacCutchan2-Sep-12 5:16
mvpRichard MacCutchan2-Sep-12 5:16 
QuestionWhat is winRT Pin
vishalgpt2-Sep-12 3:38
membervishalgpt2-Sep-12 3:38 
AnswerRe: What is winRT Pin
Richard MacCutchan2-Sep-12 5:15
mvpRichard MacCutchan2-Sep-12 5:15 
QuestionHow to play a video using data in buffer or Stream? Pin
Le@rner31-Aug-12 21:58
memberLe@rner31-Aug-12 21:58 
AnswerRe: How to play a video using data in buffer or Stream? Pin
Richard MacCutchan1-Sep-12 3:32
mvpRichard MacCutchan1-Sep-12 3:32 
QuestionHelp GWLP_USERDATA Pin
vishalgpt31-Aug-12 8:44
membervishalgpt31-Aug-12 8:44 
AnswerRe: Help GWLP_USERDATA Pin
pasztorpisti31-Aug-12 10:39
memberpasztorpisti31-Aug-12 10:39 
AnswerRe: Help GWLP_USERDATA Pin
Richard MacCutchan31-Aug-12 21:55
mvpRichard MacCutchan31-Aug-12 21:55 
QuestionCommon controls and manifests Pin
DavidCrow31-Aug-12 6:46
memberDavidCrow31-Aug-12 6:46 
AnswerRe: Common controls and manifests Pin
Jochen Arndt31-Aug-12 7:22
memberJochen Arndt31-Aug-12 7:22 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.161128.1 | Last Updated 2 Dec 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid