Re: I know i screwed it up somewhere!

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



What is strange is that I don't actually see an error in the configuration. So it is not
clear why you are getting that error message. Try turning off the "/nologo" (suppress
startup banner, or some similarly confusing name) option and see what it is generating for
the command line.
joe
See below...
On Thu, 28 Aug 2008 23:48:12 +0800, "beauwlf" <beauwlf@xxxxxxxxxxx> wrote:

"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> wrote in message
news:oiicb4hcd7u6shll22kbnmfd6o7fuvr9t6@xxxxxxxxxx
First rule: reinstalling the software is the last resort. This is
particularly true if
only one project has the problem. Yes, you messed up the configuration.
There is no
conceivable way that reinstalling VS could fix this.
However, you have critically neglected to show us anything useful, such as
the command
line that is being used, or stating what the settings might be. /MDd
would work, but -mdd
is the result of some odd kind of hand-editing.

The fact that no include paths are set may relate to this error and
probably should not be
addressed until this error is fixed.

Given a virus attack, however, much of your machine could be in
questionable state. But
the first thing you should do is look in the .dsw/.dsp files for '-mdd'
and if you find
it, show us the line where it is found and perhaps a few lines above and
below that area.
joe

All my projects are having this same problem now...
i tried deleting the dsw file and loading just using the dsp but the prob is
the same

!ELSEIF "$(CFG)" == "VT120EdgeGauge - Win32 Debug"

# PROP BASE Use_MFC 2
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 2
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D
****
I'd expect to have seen -mdd here. But I don't. That's a bit odd.

Unless you have somehow managed to set a "project default" that uses -mdd, I don't see how
it could be generated. But disabling /nologo and looking at the command line *might*
help. Corruption of the initial state might explain the "header files not found" error.
Also, if there was anything as a side effect of this error that looks like /X, this would
kill the use of the standard INCLUDE path, which would also result in the error.

So the next step is to capture the /nologo command line and take a look at it.
joe

****
"_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D
"_WINDOWS" /D "_AFXDLL" /D "MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /YX /Yc /Yu
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL"
# ADD RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386
/pdbtype:sept
# ADD LINK32 VTInspectionMod.lib /nologo /subsystem:windows /debug
/machine:I386 /pdbtype:sept

!ENDIF

i compared the command switches with simmilar project from another laptop
... they look the same via the setting dialong....




Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages