Skip to main content
GameDev.net gamedev.net
🔒 Locked

strange Windows SDK errors.

Started by Enerjak May 6, 2010 at 7:11 PM 3 replies 11.9k views
Original Post
Enerjak
Enerjak
for some reason, i'm getting these weird windows SDK errors:


1>CGame.cpp
1>k:\c-drive\program files\microsoft sdks\windows\v7.0\include\objidl.h(11280) : error C2061: syntax error : identifier '__RPC__out_xcount_part'
1>k:\c-drive\program files\microsoft sdks\windows\v7.0\include\objidl.h(11281) : error C2059: syntax error : ')'
1>k:\c-drive\program files\microsoft sdks\windows\v7.0\include\objidl.h(11281) : fatal error C1903: unable to recover from previous error(s); stopping compilation
1>MainGame.cpp
1>k:\c-drive\program files\microsoft sdks\windows\v7.0\include\objidl.h(11280) : error C2061: syntax error : identifier '__RPC__out_xcount_part'
1>k:\c-drive\program files\microsoft sdks\windows\v7.0\include\objidl.h(11281) : error C2059: syntax error : ')'
1>k:\c-drive\program files\microsoft sdks\windows\v7.0\include\objidl.h(11281) : fatal error C1903: unable to recover from previous error(s); stopping compilation
1>CFPSPlayer.cpp
1>k:\c-drive\program files\microsoft sdks\windows\v7.0\include\objidl.h(11280) : error C2061: syntax error : identifier '__RPC__out_xcount_part'
1>k:\c-drive\program files\microsoft sdks\windows\v7.0\include\objidl.h(11281) : error C2059: syntax error : ')'
1>k:\c-drive\program files\microsoft sdks\windows\v7.0\include\objidl.h(11281) : fatal error C1903: unable to recover from previous error(s); stopping compilation
1>WoodenCrates.cpp
1>k:\c-drive\program files\microsoft sdks\windows\v7.0\include\objidl.h(11280) : error C2061: syntax error : identifier '__RPC__out_xcount_part'
1>k:\c-drive\program files\microsoft sdks\windows\v7.0\include\objidl.h(11281) : error C2059: syntax error : ')'
1>k:\c-drive\program files\microsoft sdks\windows\v7.0\include\objidl.h(11281) : fatal error C1903: unable to recover from previous error(s); stopping compilation
1>CSteelCrates.cpp
1>k:\c-drive\program files\microsoft sdks\windows\v7.0\include\objidl.h(11280) : error C2061: syntax error : identifier '__RPC__out_xcount_part'
1>k:\c-drive\program files\microsoft sdks\windows\v7.0\include\objidl.h(11281) : error C2059: syntax error : ')'
1>k:\c-drive\program files\microsoft sdks\windows\v7.0\include\objidl.h(11281) : fatal error C1903: unable to recover from previous error(s); stopping compilation
1>CTvScreen.cpp
1>k:\c-drive\program files\microsoft sdks\windows\v7.0\include\objidl.h(11280) : error C2061: syntax error : identifier '__RPC__out_xcount_part'
1>k:\c-drive\program files\microsoft sdks\windows\v7.0\include\objidl.h(11281) : error C2059: syntax error : ')'
1>k:\c-drive\program files\microsoft sdks\windows\v7.0\include\objidl.h(11281) : fatal error C1903: unable to recover from previous error(s); stopping compilation
1>Generating Code...

what do you think it could be? (if you need to know more, let me know as this is all i can give since i don't understand the problem.)
adam4813
adam4813
If you upgraded to Visual Studio 2010 than you need to include the Windows SDK include folder above all the other in the project properties, not in the settings vc++ directories.

**EDIT** I first had this issue and solved it with a wonderful thing called Google and it took less than 5 min.
Enerjak
Enerjak
thank you and sorry :-p
Dryak
Dryak
Quote:
Original post by adam4813
If you upgraded to Visual Studio 2010 than you need to include the Windows SDK include folder above all the other in the project properties, not in the settings vc++ directories.

**EDIT** I first had this issue and solved it with a wonderful thing called Google and it took less than 5 min.


Some one has to create the forum posts that get searched by Google.
Aardvajk
Aardvajk
If it is of any use, this describes how I've set VS10 up so that project defaults around this issue.

I also agree with Dryak's comment above.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.