can't open .pch file

hello,
when i compile project workspace ,it gives an fatal error can't open .pch file(i.e. project name.pch).error no.C1083,in VC++ 6.0 .i  am not getting whether somthing is wronge with project setting or what might be reason.
jaydeepAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
NorbertConnect With a Mentor Commented:
Depends on what you have done
the compiler lost the information
which file is used to create the PreCompiledHeader file
check
Project->Settings
Section C/C++ Subsection Precompiled Headers
for the file sdtafx.cpp
it should be
Create precompiled header file (.pch)
through header: stdafx.h

All other files should be set to
Use Precompiled header file (.pch)
through header: stdafx.h

0
 
Vinayak KumbarSr Program ManagerCommented:
Hi,

Delete the debug / release directory and say rebuild all. Check whether the errors are still coming.

VinExpert
0
All Courses

From novice to tech pro — start learning today.