Jump to content
  • Advertisement

Archived

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

Austrian Coder

DInput problem

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

Ok... with the directx 9.0 sdk i have problems. The last one, i hope is this: if (FAILED(DirectInput8Create(GetModuleHandle(NULL), DIRECTINPUT_VERSION, IID_IDirectInput8, (VOID**)&m_DirectInput, NULL))) --> error LNK2001: unresolved external symbol _IID_IDirectInput8A fatal error LNK1120: 1 unresolved external if i change IID_IDirectInput8 to IID_IDirectInput all compiles, but it cant create the main direct input object. Whats wrong? Thanks, Christian

Share this post


Link to post
Share on other sites
Advertisement
Hmm... it doesnt work

#include <windows.h>

#pragma comment(lib, "dinput8.lib")
#pragma comment(lib, "dxguid.lib")

#define DIRECTINPUT_VERSION 0x0800
#include <dinput.h>

The same error...

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!