Jump to content
  • Advertisement


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


Setting Window Priority

This topic is 6517 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 have read that you can speed up your game/demo whatever by changing its priority class. By finding it process ID HANDLE hProc; // hProc = GetCurrentProcess(); // Find process ID Then by adding one of the options below you can change its priority, thus if I set my games priority to the bottom one: REALTIME_PRIORITY_CLASS my game will perform better. //Set process priority SetPriorityClass(hProc,IDLE_PRIORITY_CLASS); // low priority SetPriorityClass(hProc,NORMAL_PRIORITY_CLASS); // normal SetPriorityClass(hProc,HIGH_PRIORITY_CLASS); // high SetPriorityClass(hProc,REALTIME_PRIORITY_CLASS); // Ultra high! My question is... If I change the priority class can I damage anything i.e my computer? I know what changing the priority class on speeds up performance and may/will make key/mouse inputs slower. Many Thanks Alan IF YA SMELL... WHAT THE BEZZ IS COOKIN''''

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!