Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 210
  • Last Modified:

Set the base priority of an application

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
j_madhavi
Asked:
j_madhavi
  • 2
1 Solution
 
SteHCommented:
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
 
likhitaCommented:
Hi,

Please let me know how to close the question.

Thnaks
Madhavi
0
 
SteHCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now