Game Development Community

IDirectInput8

by William Finlayson · in Technical Issues · 03/04/2001 (1:00 pm) · 3 replies

Anyone know anything different you need to do in Borland to get DInput 8 to work, when I try to compile it says it doesn't know what IDirectInput8 or LPDIRECTINPUT8 is. Sugestions?

#1
03/04/2001 (1:45 pm)
Compile time error or linker error?

If it is a compiler error you might have forgotten to include "dinput.h".

If it is a linker error you might have old or bad lib directx lib files. Or using MSVC libs with Borland, etc. I would recommend dynamically loading the DLL's rather than linking to the libs. See my posts in this thread for more details.
#2
03/04/2001 (2:50 pm)
[*SHAME*] ahem... BCB4 comes with it's own version of dinput.h which came before DX8's dinput.h in the include path... never mind...
#3
03/04/2001 (11:25 pm)
Ahh yes, I remember being bit by that bug when I was using Borland.