simple for you

Started by
12 comments, last by paymonh 21 years, 9 months ago
hi

#define DIRECTINPUT_VERSION 0x0800 solved the previous two errors,

thank you


however, now i get this err:
C:\paymon\OhBehave-2.2.3\ohdisplay\Scheduler\DrawingClass.cpp(572) : error C2065: ''DirectInputCreateEx'' : undeclared identifier

i am working on this huge program
the person before me used dirextx 7
he had a #define DIRECTINPUT_VERSION 0x0700 before dinput, and that is why the errors were occuring
now that i removed that, i get the new err
Advertisement
This is another legacy situation from using Dinput 7. This function no longer exists. You''ll have to figure out the reason he used this and just use DirectInput8Create. That is the only crreate function needed in Dinput8.

Stephen Manchester
Senior Technical Lead
Virtual Media Vision, Inc.
stephen@virtualmediavision.com
(310) 930-7349
Stephen ManchesterSenior Technical LeadVirtual Media Vision, Inc.stephen@virtualmediavision.com(310) 930-7349
you can''t use two different versions of the same component of dx in one application (dinput7 & dinput8, for instance). either code the entire app for di7, or fix the old code to use di8.

---
Come to #directxdev IRC channel on AfterNET
thank you

This topic is closed to new replies.

Advertisement