VS2005 compile error after upgrades

Hi,

A couple of weeks ago I enabled XP's automatic updates (it hadn't been upgraded since I installed XP SP1 a year ago). After the upgrade (it also did some secuirty upgrade to my VS2005) I cannot build any of my code anymore. At first I got a bunch of errors, then I retarted my machine, at which point there was an error message on boot up that I've never seen before, immediately followed by an "automated" fix. Now when I try to recompile again it still doesn't work, but the errors are different.

------ Rebuild All started: Project: NSMAnalysis, Configuration: Release Win32 ------
Deleting intermediate and output files for project 'NSMAnalysis', configuration 'Release|Win32'
Compiling...
stdafx.cpp
C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\afxwin.h(2613) : error C2061: syntax error : identifier 'HDROP'
C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\afxwin.h(3621) : error C2061: syntax error : identifier 'HDROP'
C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\afxwin2.inl(70) : error C2039: 'DragAcceptFiles' : is not a member of '`global namespace''
C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\afxwin2.inl(70) : error C2660: 'CWnd::DragAcceptFiles' : function does not take 2 arguments
C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\afxwin2.inl(423) : error C2065: 'HDROP' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\afxwin2.inl(424) : error C2448: 'CWnd::OnDropFiles' : function-style initializer appears to be a function definition


I can't find where HDROP is defined but the error concerning DragAcceptFiles is strange. afxwin2.inl calls this function with 2 arguments but it's defined in afxwin.h with only one. How is this possible? Were the header files changed during the updates?? If they weren't how did it EVER work?

Thanks.

Mike
I Guess there may be some corruption in the files,Simply reinstall the VS2005.
Topic archived. No new replies allowed.