Thanks for the suggestions Tom. I tried some of the things you suggested,
but didn't help.
Mikel's suggestion solved the problem.
cleared. But I don't know how it happened.
AliR.
I'm sure you thought of this, but just in case... did you delete the NCB,
PDB files and do a recompile all? I'd also look to see if the object
files are being put elsewhere for the project or something weird like
that.
Also, do all of the files include stdafx.h at some point?
If none of that works, perhaps you could just turn off using precompiled
headers and see if that works. I don't always notice much improvement
from that feature anyway.
Tom
"AliR (VC++ MVP)" <AliR@online.nospam> wrote in message
news:ajepl.11422$pr6.1185@flpi149.ffdc.sbc.com...
I started having a problem with a project today and it is driving me up
the wall.
I haven't touched this project in a while. So I loaded it to make some
changes, but before doing so I tried to compile it, to make sure I have a
working starting point (the project depends on a few dlls that have been
modified).
When I compiled it, it throw up some linker errors that shouldn't have
been there. So I tried a rebuild all and that's where this started:
fatal error C1083: Cannot open precompiled header file:
'Debug/LSMCServer.pch': No such file or directory
So I deleted the debug directory and tried to build it and same results.
I tried changing the project property to Create precompiled header
instead of Use precompiled header, and no luck there.
The funny thing is that it doesn't even start the build with stdafx.cpp,
it just picks the first file in the solution list (alphabetically).
Any ideas on how to solve this annoying problem?
AliR.