CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 1999
    Posts
    11

    precompiled headers and StdAfx.h

    My code can not be compiled under option "use precompiled headers", but can be compiled under "automatic use precompiled hearders".
    And I found my project is not compiled begin with StdAfx.cpp, though I've added Stdafx.cpp, Stdafx.h in project.

    What I want to do is compile my code under option "use precompiled headers". Anyone can help?

    Joe


  2. #2
    Join Date
    Dec 1999
    Posts
    9

    Re: precompiled headers and StdAfx.h

    You should change the option for stdafx.cpp to generate precompiled header(Right click on it at the workspace and click settings)
    and for all other files use procompiled header.(Menu project->Settings)



  3. #3
    Join Date
    Apr 1999
    Posts
    11

    Re: precompiled headers and StdAfx.h

    Thank you so much Kaan. The problem sovled. Many thanks!!!

    Joe


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured