• Advertisement

Archived

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

Problem linking directinput

This topic is 5997 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

I am including dinput.h and linking to dinput8.lib. All I''m doing so far with Direct Input is to get an object
  
LPDIRECTINPUT8 Key;
DirectInput8Create(hInst,DIRECTINPUT_VERSION,IID_IDirectInput8,(void**)&Key,NULL);
  
It all compiles OK, but when linking I get this error: error LNK2001: unresolved external symbol _IID_IDirectInput8A What is causing this problem (could it be because I have VC5? It says in the documentation that dinput should work fine with vc5)

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement