Jump to content
  • Advertisement

Archived

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

Bezzant

Setting Window Priority

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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!