Archived

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

Hans

DirectInput problem..

Recommended Posts

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