Welcome to RenEvo Sign in | Join | Help
in
Home Wiisis Blogs Forums Photos Downloads About

VS2008 Problem by using WDK for #include <hidsdi.h>

Last post 11-05-2009, 12:34 PM by odbb. 0 replies.
Sort Posts: Previous Next
  •  11-05-2009, 12:34 PM 2261

    VS2008 Problem by using WDK for #include <hidsdi.h>

    Hello,

    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?

    Errorlog:

    1>------ Rebuild All started: Project: xxx, Configuration: Debug Win32 ------

    1>Deleting intermediate and output files for project xxx, configuration 'Debug|Win32'

    1>Compiling...

    1>StdAfx.cpp

    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

    ...

     

    Edit.:

    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

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems