Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SetCommonPchSettings

Establishes the precompiled header settings for the project.

function SetCommonPchSettings( 
   oProj  
);

oProj

The selected project.

Call this function to establish the precompiled header settings for the project.

This function sets the UsePrecompiledHeader property to the following:

if ((strAppType == "LIB" || ((strAppType == "CONSOLE") && 
   wizard.FindSymbol(SUPPORT_MFC"))) && !Pch)
   {
      AddFilesToProject(selProj, strProjectName, InfFile);
      SetNoCommonPchSettings(selProj);
   }
else
   {
      AddFilesToProject(selProj, strProjectName, InfFile);
      SetcommonPchSettings(selProj);
   }
Show:
© 2015 Microsoft