ms studio 6 building problem

Posted on 2006-05-29
Medium Priority
Last Modified: 2010-05-18


I have visual studio 6 with sp6.

I build a C++ application using a batch file (with msdev command). It hangs at the linking process. When I check the task manager, msdev takes 0% of my CPU. Does anyone know the reason why it happens?

Question by:TungVan
LVL 86

Assisted Solution

jkr earned 200 total points
ID: 16784612
'msdev.exe' is indeed idle when you build your app. All it does is spawning 'cl.exe' and 'link.exe', which is the compiler and the linker and do the actual work. The IDE is not involved in that build, except for displaying the results.
LVL 39

Accepted Solution

itsmeandnobodyelse earned 800 total points
ID: 16784851
You could export a make file from your VC6 project by using the "Export Makefile" command from Project menu. Then run the build process by calling nmake <makefile_name>.

You also could invoke msdev from commandline though the syntax of the call is very cryptic. Use "msdev /?" from commandline to learn about. I tried it once but it happened some years ago and the documentation is very brief.

Regards, Alex

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

850 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