February 22nd, 2012

Visual Studio 2010 and Platform SDKs

I recently started doing some work in Visual Studio 2010 even though I’ve been using Visual Studio 2005 for years. I ran into an annoying compilation error in 2010:

invalid option –ologo

If you are searching for a resolution on this, the problem is that I was using the wrong platform SDK. I installed the 6.1 SDK after I had installed VS 2010, and it changed the directories to point to it instead of  7.0A. The best way to do that is changing this file:

C:\Users\<your_user_name>\AppData\Local\Microsoft\MSBuild\v4.0\Microsoft.Cpp.Win32.user.props

Replace all the platform directories.

Then next problem I ran into was over 100 errors in objidl.h. Apparently, the version of the DirectX SDK I’m running has an issue with the 7.0A Platform SDK. To fix this, you should upgrade your DirectX SDK.

Hope you find this info helpful. It was a bit of a pain to sort out why this stuff wasn’t working. I didn’t get any solutions searching the web with the errors, so I’ve included them all below, so people can find this info easier:

5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2081: ‘__RPC__out_xcount_part’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2059: syntax error : ‘,’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2143: syntax error : missing ‘)’ before ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2143: syntax error : missing ‘;’ before ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2059: syntax error : ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11316): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11320): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11320): error C2081: ‘__RPC__in_xcount_full’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11320): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11320): error C2054: expected ‘(‘ to follow ‘Begin_Push’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11320): error C2085: ‘buf’ : not in formal parameter list
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11321): error C2082: redefinition of formal parameter ‘ULONG’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11321): error C2146: syntax error : missing ‘,’ before identifier ‘cSent’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11321): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11324): error C2085: ‘Finish_Push’ : not in formal parameter list
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11327): error C2059: syntax error : ‘}’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2081: ‘__RPC__out_xcount_part’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2059: syntax error : ‘,’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2143: syntax error : missing ‘)’ before ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2143: syntax error : missing ‘;’ before ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2059: syntax error : ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11522): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11526): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11526): error C2081: ‘__RPC__in_xcount_full’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11526): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11526): error C2054: expected ‘(‘ to follow ‘Begin_Push’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11526): error C2085: ‘buf’ : not in formal parameter list
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11527): error C2082: redefinition of formal parameter ‘ULONG’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11527): error C2146: syntax error : missing ‘,’ before identifier ‘cSent’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11527): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11530): error C2085: ‘Finish_Push’ : not in formal parameter list
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11533): error C2059: syntax error : ‘}’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2081: ‘__RPC__out_xcount_part’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2059: syntax error : ‘,’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2143: syntax error : missing ‘)’ before ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2143: syntax error : missing ‘;’ before ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2059: syntax error : ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11728): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11732): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11732): error C2081: ‘__RPC__in_xcount_full’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11732): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11732): error C2054: expected ‘(‘ to follow ‘Begin_Push’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11732): error C2085: ‘buf’ : not in formal parameter list
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11733): error C2082: redefinition of formal parameter ‘ULONG’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11733): error C2146: syntax error : missing ‘,’ before identifier ‘cSent’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11733): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11736): error C2085: ‘Finish_Push’ : not in formal parameter list
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11739): error C2059: syntax error : ‘}’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2081: ‘__RPC__inout_xcount’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2143: syntax error : missing ‘)’ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2143: syntax error : missing ‘{‘ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2059: syntax error : ‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2081: ‘__RPC__in_xcount’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2143: syntax error : missing ‘)’ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2143: syntax error : missing ‘{‘ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2059: syntax error : ‘

5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2081: ‘__RPC__inout_xcount’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2143: syntax error : missing ‘)’ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2143: syntax error : missing ‘{‘ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2059: syntax error : ‘

5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2081: ‘__RPC__in_xcount’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2143: syntax error : missing ‘)’ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2143: syntax error : missing ‘{‘ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2059: syntax error : ‘

5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2081: ‘__RPC__inout_xcount’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2143: syntax error : missing ‘)’ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2143: syntax error : missing ‘{‘ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2059: syntax error : ‘

5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13074): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13074): error C2081: ‘__RPC__in_xcount’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13074): error C2143: syntax error : missing ‘)’ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13074): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13074): fatal error C1003: error count exceeds 100; stopping compilation
5> nanohttp.c
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2081: ‘__RPC__out_xcount_part’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2059: syntax error : ‘,’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2143: syntax error : missing ‘)’ before ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2143: syntax error : missing ‘;’ before ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2059: syntax error : ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11316): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11320): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11320): error C2081: ‘__RPC__in_xcount_full’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11320): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11320): error C2054: expected ‘(‘ to follow ‘Begin_Push’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11320): error C2085: ‘buf’ : not in formal parameter list
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11321): error C2082: redefinition of formal parameter ‘ULONG’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11321): error C2146: syntax error : missing ‘,’ before identifier ‘cSent’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11321): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11324): error C2085: ‘Finish_Push’ : not in formal parameter list
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11327): error C2059: syntax error : ‘}’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2081: ‘__RPC__out_xcount_part’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2059: syntax error : ‘,’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2143: syntax error : missing ‘)’ before ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2143: syntax error : missing ‘;’ before ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2059: syntax error : ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11522): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11526): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11526): error C2081: ‘__RPC__in_xcount_full’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11526): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11526): error C2054: expected ‘(‘ to follow ‘Begin_Push’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11526): error C2085: ‘buf’ : not in formal parameter list
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11527): error C2082: redefinition of formal parameter ‘ULONG’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11527): error C2146: syntax error : missing ‘,’ before identifier ‘cSent’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11527): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11530): error C2085: ‘Finish_Push’ : not in formal parameter list
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11533): error C2059: syntax error : ‘}’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2081: ‘__RPC__out_xcount_part’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2059: syntax error : ‘,’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2143: syntax error : missing ‘)’ before ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2143: syntax error : missing ‘;’ before ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2059: syntax error : ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11728): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11732): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11732): error C2081: ‘__RPC__in_xcount_full’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11732): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11732): error C2054: expected ‘(‘ to follow ‘Begin_Push’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11732): error C2085: ‘buf’ : not in formal parameter list
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11733): error C2082: redefinition of formal parameter ‘ULONG’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11733): error C2146: syntax error : missing ‘,’ before identifier ‘cSent’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11733): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11736): error C2085: ‘Finish_Push’ : not in formal parameter list
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11739): error C2059: syntax error : ‘}’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2081: ‘__RPC__inout_xcount’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2143: syntax error : missing ‘)’ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2143: syntax error : missing ‘{‘ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2059: syntax error : ‘

5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2081: ‘__RPC__in_xcount’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2143: syntax error : missing ‘)’ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2143: syntax error : missing ‘{‘ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2059: syntax error : ‘

5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2081: ‘__RPC__inout_xcount’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2143: syntax error : missing ‘)’ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2143: syntax error : missing ‘{‘ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2059: syntax error : ‘

5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2081: ‘__RPC__in_xcount’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2143: syntax error : missing ‘)’ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2143: syntax error : missing ‘{‘ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2059: syntax error : ‘

5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2081: ‘__RPC__inout_xcount’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2143: syntax error : missing ‘)’ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2143: syntax error : missing ‘{‘ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2059: syntax error : ‘

5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13074): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13074): error C2081: ‘__RPC__in_xcount’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13074): error C2143: syntax error : missing ‘)’ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13074): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13074): fatal error C1003: error count exceeds 100; stopping compilation
5> parser.c
5> parserInternals.c
5> SAX.c
5> threads.c
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2081: ‘__RPC__out_xcount_part’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2059: syntax error : ‘,’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2143: syntax error : missing ‘)’ before ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2143: syntax error : missing ‘;’ before ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2059: syntax error : ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11315): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11316): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11320): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11320): error C2081: ‘__RPC__in_xcount_full’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11320): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11320): error C2054: expected ‘(‘ to follow ‘Begin_Push’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11320): error C2085: ‘buf’ : not in formal parameter list
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11321): error C2082: redefinition of formal parameter ‘ULONG’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11321): error C2146: syntax error : missing ‘,’ before identifier ‘cSent’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11321): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11324): error C2085: ‘Finish_Push’ : not in formal parameter list
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11327): error C2059: syntax error : ‘}’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2081: ‘__RPC__out_xcount_part’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2059: syntax error : ‘,’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2143: syntax error : missing ‘)’ before ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2143: syntax error : missing ‘;’ before ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2059: syntax error : ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11521): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11522): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11526): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11526): error C2081: ‘__RPC__in_xcount_full’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11526): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11526): error C2054: expected ‘(‘ to follow ‘Begin_Push’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11526): error C2085: ‘buf’ : not in formal parameter list
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11527): error C2082: redefinition of formal parameter ‘ULONG’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11527): error C2146: syntax error : missing ‘,’ before identifier ‘cSent’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11527): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11530): error C2085: ‘Finish_Push’ : not in formal parameter list
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11533): error C2059: syntax error : ‘}’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2081: ‘__RPC__out_xcount_part’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2059: syntax error : ‘,’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2143: syntax error : missing ‘)’ before ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2143: syntax error : missing ‘;’ before ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2059: syntax error : ‘*’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11727): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11728): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11732): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11732): error C2081: ‘__RPC__in_xcount_full’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11732): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11732): error C2054: expected ‘(‘ to follow ‘Begin_Push’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11732): error C2085: ‘buf’ : not in formal parameter list
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11733): error C2082: redefinition of formal parameter ‘ULONG’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11733): error C2146: syntax error : missing ‘,’ before identifier ‘cSent’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11733): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11736): error C2085: ‘Finish_Push’ : not in formal parameter list
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(11739): error C2059: syntax error : ‘}’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2081: ‘__RPC__inout_xcount’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2143: syntax error : missing ‘)’ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2143: syntax error : missing ‘{‘ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2059: syntax error : ‘

5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13063): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2081: ‘__RPC__in_xcount’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2143: syntax error : missing ‘)’ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2143: syntax error : missing ‘{‘ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2059: syntax error : ‘

5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13064): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2081: ‘__RPC__inout_xcount’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2143: syntax error : missing ‘)’ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2143: syntax error : missing ‘{‘ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2059: syntax error : ‘

5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13068): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2081: ‘__RPC__in_xcount’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2143: syntax error : missing ‘)’ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2143: syntax error : missing ‘{‘ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2059: syntax error : ‘

5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13069): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2081: ‘__RPC__inout_xcount’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2143: syntax error : missing ‘)’ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2143: syntax error : missing ‘{‘ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2059: syntax error : ‘

5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13073): error C2059: syntax error : ‘)’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13074): error C2143: syntax error : missing ‘)’ before ‘(‘
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13074): error C2081: ‘__RPC__in_xcount’ : name in formal parameter list illegal
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13074): error C2143: syntax error : missing ‘)’ before ‘constant’
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13074): error C2091: function returns function
5>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\objidl.h(13074): fatal error C1003: error count exceeds 100; stopping compilation

One Response to 'Visual Studio 2010 and Platform SDKs'

  1. 1iestyn
    July 10th, 2011 at 12:46 am

    I found an alternate solution here:

    http://www.gamedev.net/topic/570455-strange-windows-sdk-errors/page__view__findpost__p__4644522

    …so you don’t need to upgrade your DX SDK in order to make it work (which was not an option for me, since I needed to continue using D3D8), you can change your include path ordering instead. Phew!

    Anyway, many thanks (and good thinking) for pasting the errors – this allowed Google to lead me here, and your post and the other link above helped me sort out this upgrade mess :)


Leave a Response

Everything on Binary Creativity is © 2006-2010 Matt Gilgenbach. All rights reserved. | RSS | Comments RSS