473,406 Members | 2,707 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,406 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 2419
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.