Changing Process Priority without CreateProcess()
Is it possible to change the priority of a process to either:
HIGH_PRIORITY_CLASS, IDLE_PRIORITY_CLASS,
NORMAL_PRIORITY_CLASS or REALTIME_PRIORITY_CLASS
when you are not using CreateProcess()?
I have SDI and Dialog based applications created by the Class
Wizard.
Is there anyway to dynamically change the priority of my process?
Re: Changing Process Priority without CreateProcess()
You can change the priority of the current process with:
SetPriorityClass(AfxGetApp(), XXX_PRIORITY_CLASS);
Where there is a WISH, there is a WILL.