How do i fix this DIRECTINPUT_VERSION undefined. Defaulting to version 0x0800

Started by
2 comments, last by jonmon 21 years, 11 months ago
DIRECTINPUT_VERSION undefined. Defaulting to version 0x0800 how do i fix it How do u set the version u want to use? ~~JonMon
~~JonMonhttp://www.claancy.net/lunacy/random/youare.swf
Advertisement
The easy way: before you include dinput.h, add the line ''#define DIRECTINPUT_VERSION 0x0800''.
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers
how do i fix this

error C2065: ''DSBCAPS_CTRLDEFAULT'' : undeclared identifier



~~JonMon
~~JonMonhttp://www.claancy.net/lunacy/random/youare.swf
IIRC they removed DSBCAPS_CTRLDEFAULT for some reason. Replace it with DSBCAPS_CTRLPAN | DSBCAPS_CTRLVOLUME | DSBCAPS_CTRLFREQUENCY (I think that''s right).

This topic is closed to new replies.

Advertisement