My problem is, that I tried to compile the shipped tutorials, but of course I have to include the wdk include files path. If not it won't find #include <hidsdi.h>.
I add the include path (globally, or additional) gut I get more errors from the microsoft visual studio 9.0\vc\include\crtdbg.h(379) now I wonder if there is any other thing I have forgotten, or if this may be a problem with VS8? Do you have any tipps for me?
1>------ Rebuild All started: Project: xxx, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project xxx, configuration 'Debug|Win32'
1>c:\program files (x86)\microsoft visual studio 9.0\vc\include\crtdbg.h(379) : error C2065: '_In_opt_' : undeclared identifier
1>c:\program files (x86)\microsoft visual studio 9.0\vc\include\crtdbg.h(379) : error C2146: syntax error : missing ')' before identifier '_CRT_REPORT_HOOK'
1>c:\program files (x86)\microsoft visual studio 9.0\vc\include\crtdbg.h(379) : warning C4229: anachronism used : modifiers on data are ignored
I found a solution in the internet, it was a version problem with VS8 (http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=311806)
Solution: Add "C:\Program Files\Microsoft Visual Studio 9.0\VC\include" to "Additional Include Directories" before other directories