Skip to main content
gamedev.net
🔒 Locked

Directx 8 compatible problems

Started by WoX 3 replies 250+ views
Original Post
WoX
WoX
When i have installed dx8 i can''t use the
DirectInputCreateEx(GetModuleHandle(NULL), DIRECTINPUT_VERSION,
IID_IDirectInput7, (void **)&pDI, NULL);
where pDI is:
IDirectInput7 *pDI;
i just get an undeclared identifier error
SiCrane
SiCrane
What''s the undeclared identifier?
WoX
WoX
error C2065: ''DirectInputCreateEx'' : undeclared identifier

Quantum
Quantum
  
/*
* To build applications for older versions of DirectInput
*
* #define DIRECTINPUT_VERSION [ 0x0300 | 0x0500 | 0x0700 ]
*
* before #include <dinput.h>. By default, #include <dinput.h>
* will produce a DirectX 8-compatible header file.
*
*/

WoX
WoX
thanx
really!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.