Jump to content
  • Advertisement
Sign in to follow this  
programwizard

DirectInput8-Acquire() is returning DIERR_OTHERAPPHASPRIO

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

Whenever I try to Acquire() the keyboard, I get a DIERR_OTHERAPPHASPRIO error. I am trying to get NonExclusive access with the window in the Foreground. I have tried acquiring Exclusive access, which doesn't work. I have tried starting the app from My Documents by double clicking the .exe rather than invoking it from the VC debugger; that doesn't work either (the app shuts down if it can't acquire the keyboard). How do I get priority access to the keyboard, or get access period?

Share this post


Link to post
Share on other sites
Advertisement
I moved the call to Acquire() right before the main message loop, and it works. Thanks for drawing my attention to that thread again Antheus, rating++;

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!