• Advertisement
Sign in to follow this  

DirectInput8-Acquire() is returning DIERR_OTHERAPPHASPRIO

This topic is 4300 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
Try this: http://www.gamedev.net/community/forums/topic.asp?topic_id=165133

Share this post


Link to post
Share on other sites
I saw that while I was Googling around, and it's not very helpful. What does it mean for a Window to be "fully realized"?

Share this post


Link to post
Share on other sites
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