Sign in to follow this  
PhilVaz

DINPUT8 unresolved

Recommended Posts

Hello, I'm getting an unresolved external symbols on DirectInput. Trying to do a basic init keyboard and mouse, then display keyboard and mouse data. No compile errors, but some link errors. Maybe some library I'm forgeting? I have manually included dinput8.lib and dinput.h but getting this: Linking... DirectInputDemo.obj : error LNK2001: unresolved external symbol _IID_IDirectInput8A DirectInputDemo.obj : error LNK2001: unresolved external symbol _GUID_SysKeyboard DirectInputDemo.obj : error LNK2001: unresolved external symbol _GUID_SysMouse dinput8.lib(dilib2.obj) : error LNK2001: unresolved external symbol _GUID_Key dinput8.lib(dilib1.obj) : error LNK2001: unresolved external symbol _GUID_ZAxis dinput8.lib(dilib1.obj) : error LNK2001: unresolved external symbol _GUID_YAxis dinput8.lib(dilib1.obj) : error LNK2001: unresolved external symbol _GUID_XAxis Release/DirectInputDemo.exe : fatal error LNK1120: 7 unresolved externals Something to do with GUID? Source here: DirectInputDemo.cpp DirectInputDemo.zip Phil P

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
nice to see you around again Phil:D I've still got your Vazteroids hanging around somewhere!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this