Solved

Set the base priority of an application

Posted on 2004-09-06
5
188 Views
Last Modified: 2013-11-20
Hello,

I want to set the base priority of my application(.exe file) through code in vc++. Can any one please help me in doing this?
 
Thanks
Ledalla
0
Comment
Question by:j_madhavi
  • 2
5 Comments
 
LVL 13

Accepted Solution

by:
SteH earned 30 total points
ID: 11988762
In InitInstance of the application call
SetPriorityClass ().

for more information look at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/setpriorityclass.asp
0
 

Expert Comment

by:likhita
ID: 12214633
Hi,

Please let me know how to close the question.

Thnaks
Madhavi
0
 
LVL 13

Expert Comment

by:SteH
ID: 12215229
You should see beside every comment from someone else a button with accept. When you press it that comment is accepted as answer. If you want to split go to the bottom and press split points. Next you can choose points for each answer and one has to be checked to be the accepted one.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Need a Shell script to start a service checking the port 6 48
Rewrite URL With Encoded Characters 6 75
pre4 challenge 19 94
Path of Workbook 3 61
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now