direct input problem

Started by
2 comments, last by sirob 16 years, 11 months ago
I am having a problem with direct input. I am using visual c++ 6.0 and have code from a tutorial, so i don't believe the code is wrong. I have the directories included. I am thinking it is just a compatibility problem or maybe something else. Every time i try to build the program i get: TEST1.OBJ : error LNK2001: unresolved external symbol _IID_IDirectInput8W Thanks.
Advertisement
you got the correct additional dependencies for the linker.. " dinput8.lib dxguid.lib"
yes... i have these...
#pragma comment (lib, "dinput.lib")
#pragma comment (lib, "dinput8.lib")
#pragma comment (lib, "dxguid.lib")

if you want the full code... its at the bottom of...
http://directxtutorial.com/Tutorial9/E-DirectInput/dx9E1.aspx#still
just click show code... as i said its a tutorial... so i am thinking its more of a problem on my end not the code
Depending on which version of the SDK you're using, Visual C++ 6.0 probably is no longer supported. Make sure the version you have installed supports VC++ 6.0 (it would have to be at least a couple years old, if not more).

Alternatively, you could grab a free compiler such as Visual C++ 2005 Express Edition of the microsoft website, and a copy of the Platform SDK, while you're at it.

Hope this helps.
Sirob Yes.» - status: Work-O-Rama.

This topic is closed to new replies.

Advertisement