Archived

This topic is now archived and is closed to further replies.

okonomiyaki

Linking problem with dinput8.lib

Recommended Posts

okonomiyaki    548
I''m writing a new application with DirectX from scratch and now that I''m trying to implement the input devices it''s giving me the typical "Unresolved external" errors. I linked it to dinput8.lib and included dinput.h. What else should I do? I have another program that works fine with what I think is the exact same setup. An example error: "dinput8.lib(dilib1.obj) : error LNK2001: unresolved external symbol _GUID_ZAxis" Any advice? Thanks VS .NET with DX 8.1

Share this post


Link to post
Share on other sites
Wreakon    121
This might help:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/intinput/hh/intinput/di_4zjd.asp?frame=true

-------
"Programming is like sex make one mistake, and you have to support it forever."
Homepage: http://students.washington.edu/andrey

Share this post


Link to post
Share on other sites
Krunk    122
Are you getting more than one complaint about unresolved external GUIDs? If you are, you probably aren''t linking to dxguid.lib, or haven''t got "#define INITGUID" before you include dinput.h.

Share this post


Link to post
Share on other sites