Original Post
I´m trying to use direct input but when I try to compile it i get the following error: Core error LNK2001: unresolved external symbol _IID_IDirectInput8A
I include dinput.h and links to dinput8.lib.
Here is the the only code i use with dinput, I´ve copied from the SDK tutrial
DirectInput8Create(hInstance, DIRECTINPUT_VERSION,
IID_IDirectInput8, (void**)&DInputDevice, NULL);
I use VC.net and dx9