DIRECTINPUT_VERSION undefined

Started by
0 comments, last by brekehan 21 years, 7 months ago
Hiyas, When I compile my project I now start getting this warning after an attempt to add a DirectInput class wrapper. How do I solve this problem? i.e How do I define the DIRECTINPUT_VERSION and where should I do it? c:\programming\sdk\directx8_1\include\dinput.h: DIRECTINPUT_VERSION undefined. Defaulting to version 0x0800 Linking... Thanx, Christopher
Advertisement
Just

#define DIRECTINPUT_VERSION 0x0800

somewhere at your code. That should get rid of the warning

This topic is closed to new replies.

Advertisement