Solved

Set the base priority of an application

Posted on 2004-09-06
5
202 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
[X]
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
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

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
In this post we will learn different types of Android Layout and some basics of an Android App.
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 you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

623 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