Existing project run in VS2003 but not run in VS2008

Hello i need help

already Existing my project run in VS2003 but not run in VS2008 , this
error is comes
Microsoft SDK setting "c:\program files\microsoft sdks\windows\v6.0a
\include"


c:\program files\microsoft sdks\windows\v6.0a\include\oledb.h(638) :
error C2143: syntax error : missing ';' before 'constant'
c:\program files\microsoft sdks\windows\v6.0a\include\oledb.h(638) :
error C2059: syntax error : 'constant'
c:\program files\microsoft sdks\windows\v6.0a\include\oledb.h(3010) :
error C2059: syntax error : 'constant'
c:\program files\microsoft sdks\windows\v6.0a\include\oledb.h(3321) :
error C2059: syntax error : 'constant'
c:\program files\microsoft sdks\windows\v6.0a\include\oledb.h(3622) :
error C2059: syntax error : 'constant'
c:\program files\microsoft sdks\windows\v6.0a\include\oledb.h(3958) :
error C2059: syntax error : 'constant'
c:\program files\microsoft sdks\windows\v6.0a\include\oledb.h(5961) :
error C2059: syntax error : 'constant'
c:\program files\microsoft sdks\windows\v6.0a\include\oledb.h(6068) :
error C2059: syntax error : 'constant'
c:\program files\microsoft sdks\windows\v6.0a\include\oledb.h(6124) :
error C2059: syntax error : 'constant'
c:\program files\microsoft sdks\windows\v6.0a\include\oledb.h(6193) :
error C2059: syntax error : 'constant'


if any idea about Error so let me know ASAP ,
It seems that you or someone or something else tampered with the oledb.h header file and now it has errors.

The best you can do is uninstall, make sure C:\Program files\microsoft.... etc. is deleted before reinstalling VS2008.

Also note that if instead of doing that, you can install the new SDK for Windows 7 if it is publicly available, and configure VS2008 to use the new SDK. I have it because I saw it in MSDN Subscriber downloads, so I'm not sure if this one is out for the public or not.
Topic archived. No new replies allowed.