Original Post
I have now installed the directx8 sdk, and i am following the tutorials found in it. I am trying to add a keyboard or joystick device, and i have followed the steps (i think) correctly.
But at an early stage, inserting the line:
#include
#include
#include
LPDIRECTINPUT8 g_pDI = NULL;
LPDIRECTINPUTDEVICE8 g_pMouse = NULL;
...
...
hr = DirectInput8Create(GetModuleHandle(NULL) , DIRECTINPUT_VERSION, IID_IDirectInput8, (VOID**)&m_pDI, NULL );
the compiler (visual studio 6) gives the following message:
Linking...
Textures.obj : error LNK2001: unresolved external symbol _DirectInput8Create@20
Textures.obj : error LNK2001: unresolved external symbol _IID_IDirectInput8A
Debug/Textures.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
WHY? I need HELP!!!
Michele.