Solved

Set the base priority of an application

Posted on 2004-09-06
5
186 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

747 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

8 Experts available now in Live!

Get 1:1 Help Now