Precompiled header error message

From: Judith (shuvaj_at_hotmail.com)
Date: 05/09/04


Date: 9 May 2004 10:00:26 -0700

Hi,

I am trying to use precomiled header in my old MFC project.

When I enter to the Main folder Setting: "Use precompiled header
file", and choose stdafx.h, the main project compiled very fast.

BUT - when I add the same change to the other sob folders, I get an
error message:
fatal error C1852: 'Release/[sub folder name].pch' is not a valid
precompiled header file

Any ideas what I should do???

Thanks in advance!!!

Judith



Relevant Pages

  • Re: Copy file to debug folder
    ... have included it in the project, but the file is not copied to the debug ... folder in the solution when i build. ... How do i do this in an MFC project? ... In VS2005, I cant even find ...
    (microsoft.public.vc.mfc)
  • Porting from VC6 to VS2005
    ... When the VS2005 Applicaation Wizard makes an MFC project, ... folder, putting the source files there). ...
    (microsoft.public.vc.mfc)

Loading