Click here to Skip to main content
15,899,313 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionConvert CString to Unsigned short & Vice Versa Pin
JBAK_CP25-Jul-06 13:00
JBAK_CP25-Jul-06 13:00 
AnswerRe: Convert CString to Unsigned short &Vice Versa Pin
Justin Tay25-Jul-06 13:15
Justin Tay25-Jul-06 13:15 
QuestionBitmap associated with a static control Pin
cphawk25-Jul-06 12:09
cphawk25-Jul-06 12:09 
AnswerRe: Bitmap associated with a static control Pin
sudeesh26-Jul-06 2:40
sudeesh26-Jul-06 2:40 
QuestionCan't find files Pin
jimNLX25-Jul-06 11:52
jimNLX25-Jul-06 11:52 
AnswerRe: Can't find files Pin
Justin Tay25-Jul-06 13:22
Justin Tay25-Jul-06 13:22 
QuestionTabCtrlSSL tab control code Pin
BuckBrown25-Jul-06 10:18
BuckBrown25-Jul-06 10:18 
QuestionPrecompiled header error Pin
Jay0325-Jul-06 8:41
Jay0325-Jul-06 8:41 
I get the error listed at the bottom when I try compiling a source file which absolutely has no syntax errors. This has something to do with the precompiled header. I just learnt that precompiled headers are used for performance to speed up the compilation. If a header file is used in many different source files, precompiled header (.pch) file will be created the first time this header file is compiled and the next time this header file is called in a differnt source file, it will stop compiling and directly use the .pch file. Knowing that, what relationshop does precompiled header have with stdafx.h. Why are stdafx.h used for? When I tried creating a project in Visual Studio 2005, stdafx.h and stdafx.cpp were automatically created. Can someone explain what is going on here please...... Confused | :confused:


Thanks,
Jaysan

BUILD LOG
------ Build started: Project: winsock, Configuration: Debug Win32 ------
Compiling...
ObjectRoot.cpp
c:\documents and settings\aravinth\desktop\objectroot\objectroot.cpp(299) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?
Build log was saved at "file://c:\Documents and Settings\Aravinth\Desktop\ObjectRoot\winsock\winsock\Debug\BuildLog.htm"
winsock - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

AnswerRe: Precompiled header error Pin
Zac Howland25-Jul-06 8:53
Zac Howland25-Jul-06 8:53 
AnswerRe: Precompiled header error Pin
Michael Dunn25-Jul-06 8:56
sitebuilderMichael Dunn25-Jul-06 8:56 
QuestionRe: Precompiled header error [modified] Pin
Jay0325-Jul-06 9:58
Jay0325-Jul-06 9:58 
AnswerRe: Precompiled header error Pin
Zac Howland25-Jul-06 10:02
Zac Howland25-Jul-06 10:02 
GeneralRe: Precompiled header error Pin
Jay0325-Jul-06 10:15
Jay0325-Jul-06 10:15 
QuestionDirectShow filter problem Pin
DobosCake25-Jul-06 5:38
DobosCake25-Jul-06 5:38 
AnswerRe: DirectShow filter problem Pin
cje26-Jul-06 10:53
cje26-Jul-06 10:53 
QuestionIMPLEMENT_SERIAL and MFC static linking Pin
bob1697225-Jul-06 5:13
bob1697225-Jul-06 5:13 
QuestionRe: IMPLEMENT_SERIAL and MFC static linking Pin
David Crow25-Jul-06 6:33
David Crow25-Jul-06 6:33 
AnswerRe: IMPLEMENT_SERIAL and MFC static linking Pin
bob1697225-Jul-06 7:24
bob1697225-Jul-06 7:24 
AnswerRe: IMPLEMENT_SERIAL and MFC static linking Pin
bob1697225-Jul-06 7:53
bob1697225-Jul-06 7:53 
AnswerRe: IMPLEMENT_SERIAL and MFC static linking [modified] Pin
Viorel.25-Jul-06 7:15
Viorel.25-Jul-06 7:15 
GeneralRe: IMPLEMENT_SERIAL and MFC static linking Pin
bob1697225-Jul-06 7:32
bob1697225-Jul-06 7:32 
GeneralRe: IMPLEMENT_SERIAL and MFC static linking Pin
Viorel.25-Jul-06 7:46
Viorel.25-Jul-06 7:46 
GeneralRe: IMPLEMENT_SERIAL and MFC static linking [modified] Pin
bob1697225-Jul-06 7:51
bob1697225-Jul-06 7:51 
QuestionE-mail processing Pin
Daniel Kanev25-Jul-06 4:31
Daniel Kanev25-Jul-06 4:31 
AnswerRe: E-mail processing Pin
Zac Howland25-Jul-06 4:57
Zac Howland25-Jul-06 4:57 

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.