473,320 Members | 1,914 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Running cl.exe in lower priority

Hi,

When I do large builds (I'm using Visual Studio .NET 2002), cl.exe
automatically starts in normal processor priority. I frequently set the
priority to "Belownormal" in Task manager. However, I'd like to have it
automatically start with this priority level.

I did a search on the web and found this article:

http://www.codeguru.com/Cpp/V-S/tips/article.php/c439/

but it only deals with VS6. Anybody know the procedure for VS7? I also don't
think a batch file with start /high cl.exe will work since its all launched
by the VS environment.

Who can help?
Thanks,
Alain Dekker
Nov 22 '05 #1
1 2411
I followed the suggestion in the article on codeguru by searching for the
string "68 00 02" in vcspawn.exe and modified that to "68 40 02" (this was
at address 0x1930).

It works like a charm!

Thanks again,
Alain Dekker

"Alain Dekker" <alain.dekker@NO_SPAM.commedica.com> wrote in message
news:eq**************@TK2MSFTNGP12.phx.gbl...
Hi,

When I do large builds (I'm using Visual Studio .NET 2002), cl.exe
automatically starts in normal processor priority. I frequently set the
priority to "Belownormal" in Task manager. However, I'd like to have it
automatically start with this priority level.

I did a search on the web and found this article:

http://www.codeguru.com/Cpp/V-S/tips/article.php/c439/

but it only deals with VS6. Anybody know the procedure for VS7? I also don't think a batch file with start /high cl.exe will work since its all launched by the VS environment.

Who can help?
Thanks,
Alain Dekker

Nov 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: los | last post by:
Hi, I'm trying to create a program similar to that of Google's desktop that will crawl through the hard drive and index files. I have written the program and as of now I just put the thread to...
0
by: wtfhits | last post by:
I'm writing my own task manager as I often change process priorities but have gotten myself into trouble on several occasions. I have discovered by keeping csrss.exe and explorer at the equal highest...
1
by: Alain Dekker | last post by:
Hi, When I do large builds (I'm using Visual Studio .NET 2002), cl.exe automatically starts in normal processor priority. I frequently set the priority to "Belownormal" in Task manager. However,...
3
by: John | last post by:
Hi How can I; 1. Check the existence of an exe app in a particular path such as c:\myfolder\myapp.exe, and 2. Execute the app? Thanks
7
by: mircu | last post by:
Hello, What would be the best for implementing architecture that runs several, independent, scheduled or run by the user on demand task in the same time? Now in my program every task creates...
1
by: VB Programmer | last post by:
My development machine has been working perfectly, writing ASP.NET apps, etc... I just went to open a project and it said: "Visual Studio .NET has detected that the specified web server is not...
1
by: Trygve Lorentzen | last post by:
Hi, my webservice is running on Win2000 SP4, IIS 5.0 fully patched, connecting to a MySQL database and mainly returning Typed DataSet's from webmethods. After running for a while, generally a...
8
by: TS | last post by:
Hi, i have inherited a page from another user. The page is the target frame in a frameset. for some reason the whole page runs twice (page_load, init, etc. all run twice) I can't figure out how...
3
by: Michel | last post by:
Hi, I wrote an app in .Net and I whant only 1 instance of this app open for the user; the user open my app, do some works and try to open another instance of my app, I whant to show a message to...
14
by: fdu.xiaojf | last post by:
Hi, I have a program which will continue to run for several days. When it is running, I can't do anything except waiting because it takes over most of the CUP time. Is it possible that the...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.