Archived

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

jonmon

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

Recommended Posts

DIRECTINPUT_VERSION undefined. Defaulting to version 0x0800 how do i fix it How do u set the version u want to use? ~~JonMon

Share this post


Link to post
Share on other sites
The easy way: before you include dinput.h, add the line ''#define DIRECTINPUT_VERSION 0x0800''.

Share this post


Link to post
Share on other sites
IIRC they removed DSBCAPS_CTRLDEFAULT for some reason. Replace it with DSBCAPS_CTRLPAN | DSBCAPS_CTRLVOLUME | DSBCAPS_CTRLFREQUENCY (I think that''s right).

Share this post


Link to post
Share on other sites