Visual Studio 2005 and Windows 7

Posted on 2012-08-24
Last Modified: 2012-08-28
Does anybody know how Visual Studio 2005 determines what directory to run the compilation (cl command) in. I have put a pre-build step into my project that does a "dir" command and I notice that the directory where the build is running is different on Windows Server 2003 than it is on a Windows 7 machine. This strikes me as odd, does anyone know anything about this?
Question by:nirvanastorage
    1 Comment
    LVL 39

    Accepted Solution

    Off the top of my head (I no longer have Visual Studio installed anywhere to test) I'm pretty sure it's the solution directory that it uses as it's base directory.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
    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 goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
    The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

    729 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

    18 Experts available now in Live!

    Get 1:1 Help Now