Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / May 2005

Tip: Looking for answers? Try searching our database.

Running cl.exe in BelowNormal priority

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alain Dekker - 27 May 2005 15:32 GMT
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
Kyle Alons - 27 May 2005 17:02 GMT
It's in the comments of that article:
http://www.codeguru.com/Cpp/V-S/tips/comments.php/c439/?thread=4744

Signature

---------------------------------------------------
Automate your software builds with Visual Build Pro
http://www.visualbuild.com/

> Hi,
>
[quoted text clipped - 16 lines]
> Thanks,
> Alain Dekker
- 27 May 2005 17:30 GMT
If you paste this wrap in a browser, you get better.

http://groups-beta.google.com/group/microsoft.public.vc.ide_general/
browse_frm/thread/3e5f956875f44ef8/db7258b19f5faba6?tvc=1&
q=Lower+compiler+and+linker+priority%3F+group:microsoft.public.vc.ide_general&
hl=en#db7258b19f5faba6

Guess who's at the top of that thread?

Anyway, if that doesn't work, paste this in the search box:

 Lower compiler and linker priority? group:microsoft.public.vc.ide_general
Signature

40th Floor - Software  @  http://40th.com/
iPlay : the ultimate audio player for PPCs
mp3,mp4,m4a,aac,ogg,flac,wav,play & record
parametric eq, xfeed, reverb: all on a ppc

Alain Dekker - 31 May 2005 14:16 GMT
Thanks for that, Kyle - I missed those comments!

However, I followed the procedure it suggests, and it didn't make any
difference - vcspawn.exe and cl.exe are still in Normal priority.

Have you managed to get it to work?

Thanks,
Alain Dekker

> It's in the comments of that article:
> http://www.codeguru.com/Cpp/V-S/tips/comments.php/c439/?thread=4744
[quoted text clipped - 19 lines]
> > Thanks,
> > Alain Dekker
Alain Dekker - 31 May 2005 14:24 GMT
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

> Thanks for that, Kyle - I missed those comments!
>
[quoted text clipped - 29 lines]
> > > Thanks,
> > > Alain Dekker

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.