• Advertisement

Archived

This topic is now archived and is closed to further replies.

how do i use precompiled header?

This topic is 5391 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m using VS.NET. I read an MFC book, and it mentions the goodness of precompiled headers. And since AppWizard, do all the stuff, it becomes no worry for MFC. Since I''m an API guy, I want to do it by myself, make a blank project, create stdafx.h and stdafx.cpp, set the project options "Use Precompiled Headers" and set the following settings:
Create/Use Precompiled Header: Use Precompiled Header (/Yu)
Create/Use PCH Through File:   Stdafx.h
Precompiled Header File:       $(IntDir)/$(TargetName).pch
 
I compile it, errors! can someone help me out?
My compiler generates one error message: "does not compile."

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
This might help:

http://www.cygnus-software.com/papers/precompiledheaders.html

Share this post


Link to post
Share on other sites
That''s a great link... I can point all my colleagues in that direction.

Thanks Anonymous Poster, you always save the day

Share this post


Link to post
Share on other sites
thanks a lot. I read it, and it was great. Wonderful! Thanks again.


My compiler generates one error message: "does not compile."

Share this post


Link to post
Share on other sites
quote:
Original post by Anonymous Poster
This might help:

http://www.cygnus-software.com/papers/precompiledheaders.html


Great article.

Share this post


Link to post
Share on other sites
Is this some kind of "Praise the APs"-day? OMG thats teh best stuff I''ve ever read in my life!

Share this post


Link to post
Share on other sites

  • Advertisement