Set the base priority of an application

Posted on 2004-09-06
Last Modified: 2013-11-20

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?
Question by:j_madhavi
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 13

Accepted Solution

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

for more information look at

Expert Comment

ID: 12214633

Please let me know how to close the question.

LVL 13

Expert Comment

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.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Creating Labels and Frequency list style reports in SAS code 9 129
viewing source code from eclipse 13 111
sum28 challenge 31 117
Problem to App 4 145
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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

734 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