Keyboard input hangs after approx 30 minutes

Just starting out? Need help? Post your questions and find answers here.
bytecave
User
User
Posts: 40
Joined: Mon Aug 13, 2012 7:26 am

Re: Keyboard input hangs after approx 30 minutes

Post by bytecave »

JHPJHP, thank you for directing me back to your post. I hadn't understood that it had passed the 30 minute test. :) Yes, your code does the trick and the keyboard no longer hangs. It gives me a different path to explore for sure. For my game, I don't think it'll be appropriate to make screen saver decisions and keep the system in an activate state, possibly against a user's preferences. But you have proven that it is related to screen saver or at least system availability state. Thank you again for testing and for the code that proves a workaround!

Dude, thank you also, but WaitWindowEvent(1) didn't make a difference. I've kept it in my code, however, as it does make the game a better citizen.
Post Reply