EDN Admin
Well-known member
i am just trying to creat a simple test program to get data from a Xbox 360 controler to be used later but as soon a I include Xinput the promgram wont compile properly because of winnt.h
I am using VC++ 2010
here is program
<div style="color:black; background-color:white
<pre><span style="color:green /*
X-Box controler interface test
*/
#include <iostream>
#include <Xinput.h>
<span style="color:blue using <span style="color:blue namespace std;
<span style="color:blue int main ()
{
cout <<<span style="color:#a31515 "Hello this must work n";
cin.get();
}
[/code]
<br/>
here is the output from the builds
<pre>1>------ Build started: Project: Xbox Contol, Configuration: Debug Win32 ------
1> Main.cpp
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(351): error C2146: syntax error : missing ; before identifier WCHAR
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(351): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(355): error C2143: syntax error : missing ; before *
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(355): error C2040: PWSTR : CONST differs in levels of indirection from WCHAR *
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(355): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(357): error C2143: syntax error : missing ; before *
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(357): error C2371: WCHAR : redefinition; different basic types
1> c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(344) : see declaration of WCHAR
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(357): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(357): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(358): error C2143: syntax error : missing ; before *
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(358): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(358): error C2378: PCWSTR : redefinition; symbol cannot be overloaded with a typedef
1> c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(357) : see declaration of PCWSTR
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(358): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(359): error C2143: syntax error : missing ; before *
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(359): error C2371: WCHAR : redefinition; different basic types
1> c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(344) : see declaration of WCHAR
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(359): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(359): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(362): error C2143: syntax error : missing ; before *
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(362): error C2371: WCHAR : redefinition; different basic types
1> c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(344) : see declaration of WCHAR
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(362): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(364): error C2143: syntax error : missing ; before *
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(364): error C2371: WCHAR : redefinition; different basic types
1> c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(344) : see declaration of WCHAR
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(364): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(367): error C2143: syntax error : missing ; before *
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(367): error C2371: WCHAR : redefinition; different basic types
1> c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(344) : see declaration of WCHAR
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(367): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(369): error C2143: syntax error : missing ; before *
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(369): error C2371: WCHAR : redefinition; different basic types
1> c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(344) : see declaration of WCHAR
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(369): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(419): error C2143: syntax error : missing ; before *
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(419): error C2371: CHAR : redefinition; different basic types
1> c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(331) : see declaration of CHAR
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(419): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(419): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(423): error C2143: syntax error : missing ; before *
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(423): error C2040: PSTR : CONST differs in levels of indirection from CHAR *
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(423): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(424): error C2143: syntax error : missing ; before *
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(424): error C2371: CHAR : redefinition; different basic types
1> c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(331) : see declaration of CHAR
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(424): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(424): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(425): error C2143: syntax error : missing ; before *
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(425): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(425): error C2378: PCSTR : redefinition; symbol cannot be overloaded with a typedef
1> c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(424) : see declaration of PCSTR
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(425): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(428): error C2143: syntax error : missing ; before *
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(428): error C2371: CHAR : redefinition; different basic types
1> c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(331) : see declaration of CHAR
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(428): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(431): error C2143: syntax error : missing ; before *
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(431): error C2371: CHAR : redefinition; different basic types
1> c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(331) : see declaration of CHAR
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(431): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(470): error C2146: syntax error : missing ; before identifier LPCTCH
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(470): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(470): error C2378: LPCCH : redefinition; symbol cannot be overloaded with a typedef
1> c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(419) : see declaration of LPCCH
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(470): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(470): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(472): error C2146: syntax error : missing ; before identifier PCTSTR
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(472): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(472): error C2378: LPCSTR : redefinition; symbol cannot be overloaded with a typedef
1> c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(424) : see declaration of LPCSTR
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(472): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(472): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(472): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(472): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(474): error C2146: syntax error : missing ; before identifier PCZZTSTR
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(474): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(474): error C2378: PCZZSTR : redefinition; symbol cannot be overloaded with a typedef
1> c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(428) : see declaration of PCZZSTR
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(474): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(474): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(476): error C2146: syntax error : missing ; before identifier PCNZTCH
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(476): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(476): error C2378: PCNZCH : redefinition; symbol cannot be overloaded with a typedef
1> c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(431) : see declaration of PCNZCH
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(476): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(476): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(494): error C2146: syntax error : missing ; before identifier Group
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(494): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(494): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(495): error C2146: syntax error : missing ; before identifier Number
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(495): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(495): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(496): error C2146: syntax error : missing ; before identifier Reserved
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(496): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(496): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(506): error C2146: syntax error : missing ; before identifier Group
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(506): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(506): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(507): error C2146: syntax error : missing ; before identifier Reserved
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(507): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(507): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(531): error C2146: syntax error : missing ; before identifier FCHAR
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(531): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(531): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(532): error C2146: syntax error : missing ; before identifier FSHORT
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(532): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(532): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(533): error C2146: syntax error : missing ; before identifier FLONG
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(533): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(533): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(605): error C2146: syntax error : missing ; before identifier PLCID
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(605): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(605): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(2234): error C2118: negative subscript
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(2235): error C2118: negative subscript
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(2238): error C2118: negative subscript
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(6361): error C2146: syntax error : missing ; before identifier ContextRecord
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(6361): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(6361): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(12983): error C2065: PCONTEXT : undeclared identifier
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(12984): error C2146: syntax error : missing ) before identifier ContextRecord
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(12984): warning C4229: anachronism used : modifiers on data are ignored
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(12984): error C2182: RtlCaptureContext : illegal use of type void
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(12984): error C2491: RtlCaptureContext : definition of dllimport data not allowed
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(12984): error C2059: syntax error : )
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13372): error C2143: syntax error : missing ; before __stdcall
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13372): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13376): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13481): error C2065: IN : undeclared identifier
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13481): error C2146: syntax error : missing ) before identifier PVOID
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13481): error C2165: left-side modifier : cannot modify pointers to data
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13481): error C2513: void * : no variable declared before =
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13482): error C2059: syntax error : )
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13532): error C2146: syntax error : missing ; before identifier lpFileName
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13532): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13532): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13533): error C2146: syntax error : missing ; before identifier lpFilePath
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13533): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13533): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13563): error C2146: syntax error : missing ; before identifier lpAssemblyEncodedAssemblyIdentity
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13563): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13563): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13564): error C2146: syntax error : missing ; before identifier lpAssemblyManifestPath
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13564): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13564): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13565): error C2146: syntax error : missing ; before identifier lpAssemblyPolicyPath
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13565): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13565): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13566): error C2146: syntax error : missing ; before identifier lpAssemblyDirectoryName
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13566): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13566): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13635): error C2146: syntax error : missing ; before identifier lpRootManifestPath
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13635): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13635): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13636): error C2146: syntax error : missing ; before identifier lpRootConfigurationPath
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13636): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13636): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13637): error C2146: syntax error : missing ; before identifier lpAppDirPath
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13637): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(13637): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludektmtypes.h(78): error C2146: syntax error : missing ; before identifier NOTIFICATION_MASK
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludektmtypes.h(78): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludektmtypes.h(78): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c
rogram files (x86)microsoft sdkswindowsv7.0aincludewinnt.h(14982): error C3861: __readfsdword: identifier not found
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
[/code]
sorry if this has been cover did some looking around was unable find anything concerning this.
thanks
<br/>
View the full article
I am using VC++ 2010
here is program
<div style="color:black; background-color:white
<pre><span style="color:green /*
X-Box controler interface test
*/
#include <iostream>
#include <Xinput.h>
<span style="color:blue using <span style="color:blue namespace std;
<span style="color:blue int main ()
{
cout <<<span style="color:#a31515 "Hello this must work n";
cin.get();
}
[/code]
<br/>
here is the output from the builds
<pre>1>------ Build started: Project: Xbox Contol, Configuration: Debug Win32 ------
1> Main.cpp
1>c

1>c

1>c

1>c

1>c

1>c

1>c

1> c

1>c

1>c

1>c

1>c

1>c

1> c

1>c

1>c

1>c

1> c

1>c

1>c

1>c

1>c

1> c

1>c

1>c

1>c

1> c

1>c

1>c

1>c

1> c

1>c

1>c

1>c

1> c

1>c

1>c

1>c

1> c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1> c

1>c

1>c

1>c

1>c

1>c

1> c

1>c

1>c

1>c

1> c

1>c

1>c

1>c

1> c

1>c

1>c

1>c

1>c

1> c

1>c

1>c

1>c

1>c

1>c

1> c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1> c

1>c

1>c

1>c

1>c

1>c

1> c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

1>c

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
[/code]
sorry if this has been cover did some looking around was unable find anything concerning this.
thanks
<br/>
View the full article