having trouble with dinput.h
Hi
I started implementing direct input into my program for the first time and started recieving a bunch of link errors while I have dinput.h included. NOTE: I have made the neccissary changes according to your sticky thread about BASETSD.H to fix compatability issues with visual C++ 6.
these are the errors i recieve:
Quote:
Compiling...
dx_init.cpp
c:\program files\microsoft directx 9.0 sdk (october 2004)\include\dinput.h: DIRECTINPUT_VERSION undefined. Defaulting to version 0x0800
dx_mesh.cpp
Linking...
dx_init.obj : error LNK2001: unresolved external symbol _c_dfDIMouse
dx_init.obj : error LNK2001: unresolved external symbol _GUID_SysMouse
dx_init.obj : error LNK2001: unresolved external symbol _c_dfDIKeyboard
dx_init.obj : error LNK2001: unresolved external symbol _GUID_SysKeyboard
dx_init.obj : error LNK2001: unresolved external symbol _DirectInput8Create@20
dx_init.obj : error LNK2001: unresolved external symbol _IID_IDirectInput8A
any ideas as to what I did wrong? i'm kinda stumped since msdn says al these things are apart of the dinput library.
thanx in advance
Boomba,