oledb seeting VS2008

Problem in VS2008 for SDK is not responce
c:\program files\microsoft sdks\windows\v6.0a\include\oledb.h(633) : error C2143: syntax error : missing ';' before 'constant'
c:\program files\microsoft sdks\windows\v6.0a\include\oledb.h(633) : error C2059: syntax error : 'constant'
c:\program files\microsoft sdks\windows\v6.0a\include\oledb.h(3005) : error C2059: syntax error : 'constant'
c:\program files\microsoft sdks\windows\v6.0a\include\oledb.h(3316) : error C2059: syntax error : 'constant'
c:\program files\microsoft sdks\windows\v6.0a\include\oledb.h(3617) : error C2059: syntax error : 'constant'
c:\program files\microsoft sdks\windows\v6.0a\include\oledb.h(3953) : error C2059: syntax error : 'constant'
c:\program files\microsoft sdks\windows\v6.0a\include\oledb.h(5956) : error C2059: syntax error : 'constant'
c:\program files\microsoft sdks\windows\v6.0a\include\oledb.h(6063) : error C2059: syntax error : 'constant'
c:\program files\microsoft sdks\windows\v6.0a\include\oledb.h(6119) : error C2059: syntax error : 'constant'
c:\program files\microsoft sdks\windows\v6.0a\include\oledb.h(6188) : error C2059: syntax error : 'constant'


i have slove this problem from

Removed the definition of Macro "#define DBROWCOUNT 16" from sybdb.h because the same name (DBROWCOUNT) was typecasted for LONG datatype in oledb.h "typedef LONG DBROWCOUNT

but its create another probelm may be this is VS 2008 SDK probelm so please help me for the same ..
Thank in advance
\
You shouldn't change system header files.
Topic archived. No new replies allowed.