Jump to content
  • Advertisement

Archived

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

Hans

DirectInput problem..

This topic is 6778 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

|JC replied to this, but the | in his name caused an error so I removed his post. Here's the response:

Link with dxguid.lib as well as dinput.lib 8)

Share this post


Link to post
Share on other sites
Advertisement
I keep getting these error messages:
--
Linking...
winstuff.obj : error LNK2001: unresolved external symbol _GUID_SysKeyboard
dinput.lib(dilib2.obj) : error LNK2001: unresolved external symbol _GUID_Key
Release/p.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

p.exe - 3 error(s), 0 warning(s)
--
I have included dinput.h and put dinput.lib to proper place.. somehow GUID_key and GUID_syskeyboad can't be found.. I even found these lines in dinput.h:

DEFINE_GUID(GUID_SysKeyboard,0x6F1D2B61,0xD5A0,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00);
DEFINE_GUID(GUID_Key, 0x55728220,0xD33C,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00);

But how come they're not working??

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!