Some New Tools and Utilities

Chapter 2 - A Quick Start Using the IDE

Visual C++ 6: The Complete Reference
Chris H. Pappas and William H. Murray, III
  Copyright 1998 The McGraw-Hill Companies

Project Menu
The Project menu commands enable you to manage all of your open projects.
  Note The Data Connection command is added to the Add to Project submenu when Microsoft Visual Database Tools is active—Data Connection launches the Select Data Source dialog box so that you can add a data connection to your current database project. See Figure 2-6.
Figure 2-6: The Visual C++ Project menu
Set Active Project
In advanced program development, there comes a time where it is best to break a large project down into subprojects. A subproject establishes a dependency of one project on another in a hierarchical fashion. Subprojects are used in Visual C++ projects, for example, when a project builds an executable program that depends on a static library. If the static library is a subproject of the project that builds the executable program, then the library will be updated before the executable program is built. The Set Active Project option determines which project or subproject is currently active.
Add to Project
You use this option whenever you wish to add a file to a project. The file is added to a specified project, and to all project configurations in that project. For instance, if you have a project named myFirstProj, with Debug and Release configurations, and an additional project configuration named myFinalProj based on the Release configuration, adding a file adds it to all those project configurations. If you add files from directories above the project workspace directory, Microsoft Developer Studio uses absolute paths in the filenames for those files in the project’s DSP file. Because of the absolute paths, it is difficult to share the project (DSP) file.
Source Control
This provides options for managing project files in a source-controlled project. This submenu appears only if you have installed a source control program such as Visual SourceSafe.
Dependencies
In advanced program design, where a project is made up of several subprojects, you use the Dependencies command to view this hierarchical relationship.
Settings...
The Settings command opens up a very sophisticated dialog box, allowing you to totally define your projects configuration settings, from classes used, to C/C++ compiler options, to link options, browse, OLE types, resources, browse settings, and build options.
Export Makefile...
The Export Makefile option stores all the information required to build the project and can be used from the command line. Makefiles define the same project build settings you set in the Developer Studio environment.
Insert Project into Workspace...
This option inserts a project into your workspace. However, this might be slightly confusing without the following comparison between what a project is and how it differs from a workspace. A project workspace is the area defined that contains your projects and their configurations. A project is defined as a configuration and a group of files that produce a program or final binary file(s). On the other hand, a workspace can contain multiple projects, even projects of different types (for instance, Microsoft Visual C++).

Books24x7.com, Inc 2000 –  


Visual C++ 6(c) The Complete Reference
Visual Studio 6: The Complete Reference
ISBN: B00007FYGA
EAN: N/A
Year: 1998
Pages: 207

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net