Archived

This topic is now archived and is closed to further replies.

Fourty_Two

Visual Studio and dinput.h

Recommended Posts

This is probably some stupid trivial little thing but I cannot figure it out for the life of me. My d3d8.h and d3dx8.h are both being included from my DXSDK directory, but my dinput.h is being included from the Visual Studio common directory. This is causing my compiler to not even recognize the LPDIRECTINPUT8 object. Can anyone help me with this problem?

Share this post


Link to post
Share on other sites
In VC++ 6, go to Tools->Options->Directories, and make sure that the DXSDK directory is first in the list. In other versions / compilers, check for an option that changes the order of the directories in which to search for include files.

Share this post


Link to post
Share on other sites