Jump to content
  • Advertisement


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


Problems with DirectInput

This topic is 6110 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 using DirectX 8.1 and I''m running into a few problems. I''m pretty sure my code is correct, but I''m getting an error. The compiler is claiming that Aquire() and Unaquire() are not members of IDirectInputDevice8A. What gives? Relevant code:
DirectInput8Create(hInstance, DIRECTINPUT_VERSION, 
	IID_IDirectInput8, (void**)&m_Interface, NULL);
m_Interface->CreateDevice(GUID_SysKeyboard, &m_Keyboard, NULL);
m_Keyboard->SetCooperativeLevel(hWnd, DISCL_FOREGROUND | DISCL_NONEXCLUSIVE);
Error message: error C2039: ''Aquire'' : is not a member of ''IDirectInputDevice8A'' c:\dxsdk\include\dinput.h(1852) : see declaration of ''IDirectInputDevice8A'' FragLegs

Share this post

Link to post
Share on other sites
Hehe, i had this problem a while ago:- you spell Acquire wrongly. Its "Acquire", not "Aquire". Simple enough mistake to make

HTH, Steve

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!