direct input basics
Hello,
I can't seem to get direct input working. I stumble into a link error everytime I try to make a di object work.
I have the correct links in vc++ at project>settings>link i have the dinput.lib listed, likewise the tools>options>include has the DXSDK at the top of the path for each of the tabs.
DXSDK help said not to use #define INITGUID but to include Dxguid.lib into library, which I have done (mind you it makes no difference either way)
I have tried using the code to be found here:
http://www.gamedev.net/reference/articles/article1607.asp
and the code in the DXSDK tutorial.
I am confused...
Oh yea, I have been using direct draw without any problems in this project.
Edited by - graeme on February 27, 2002 2:34:43 PM
this is the error that I get:
miner.obj : error LNK2001: unresolved external symbol _DirectInput8Create@20
Debug/manic miner.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Creating browse info file...
Edited by - graeme on February 28, 2002 8:41:31 AM
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement