ms studio 6 building problem

Posted on 2006-05-29
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

    '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

    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

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
    Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
    The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
    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.

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now