http://msdn.microsoft.com/library/default.asp url=/archive/en-us/directx9_c_Oct_2004/directx/input/ref/functs/directinput8create.asp
I'm trying to create a DirectX 8.x interface with the DirectX 9.0c software development kit (SDK) without using CoCreateInstance:
- Set "#define DIRECTINPUT_VERSION 0x0800" before the include statement for Dinput8.h.
- Call DirectInput8Create instead of DirectInputCreateEx.
- Link to the Dinput8.lib library instead of Dinput.lib.
But I keep getting:
error LNK2020: unresolved token (0A00012B) IID_IDirectInput8A
Does anyone know a solution

Release: unresolved token IID_IDirectInput8A
Fredrik Lindstr&#246&#59;m - Qbranch AB
Try linking with dxguid.lib as well.
Tamer Raafat
Thanks, On the debug version the .lib file was included but not on the release.