🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

DirectInput problem..

Started by
1 comment, last by Hans 24 years, 6 months ago
|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)

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??

Did you #define INITGUID ?

Bye

This topic is closed to new replies.

Advertisement