Original Post
I get a linker error when trying to compile my DirectInput 8 code. LINK : error LNK2020: unresolved token (0A0000B4) IID_IDirectInput8A LINK : error LNK2020: unresolved token (0A0000B6) GUID_SysKeyboard LINK : error LNK2020: unresolved token (0A0000BA) GUID_SysMouse I've found some old posts on the subjects which tells me to include dinput8.h. However I do not have such a file (not in any SDK I have, not even the latest december 2004 release). This is how I include the file: #define DIRECTINPUT_VERSION 0x0800 #include <dinput.h> I link with dinput8.lib. What could be wrong?