|
-
March 30th, 1999, 01:15 PM
#1
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?
-
May 17th, 1999, 01:40 PM
#2
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|