Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why can my Visual C++ compiler find the file DINPUT.H when I compile the source code for an Immersion sample application?

0
Posted

Why can my Visual C++ compiler find the file DINPUT.H when I compile the source code for an Immersion sample application?

0

If you include an IFC 2.1 header file in your code, the file will also be included. DINPUT.H is the Microsoft DirectX header file for DirectInput routines. DINPUT.H is normally available in VC++ developers’ systems, as it exists in the standard Microsoft Visual Studio 6 installation (VC98\Include), the Microsoft Platform SDK (mssdk\include), and also in the Microsoft DirectX SDK (dxsdk\include). However, you may not have this file if you are using VC++ 5. If you do not have DINPUT.H in your system, you will get a compile error. If you run into this error, you should first check to see if you have DINPUT.H on your system, but the compiler isn’t finding it. VC++ 6 users will want to check their Tools:Options:Directories settings to make sure the VC98\Include path is there. If you don’t have DINPUT.H on your system, you can download it here from Microsoft: http://msdn.microsoft.com/directx/downloads.asp Click the link for “Developer Downloads” and look for the latest partial DirectX SDK d

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123