Setting Program's Priority

Just starting out? Need help? Post your questions and find answers here.
funnyguy
User
User
Posts: 69
Joined: Mon Jun 23, 2008 10:57 pm

Setting Program's Priority

Post by funnyguy »

How do you set the programs priority? Not thread priority!
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

It's all thread priority. There is nothing else. Use SetThreadPriority_(GetCurrentThreadID_(), <priority>) and you can look up the priorities and their corresponding values on MSDN.
BERESHEIT
Post Reply