Previous Topic

Next Topic

Book Contents

Book Index

Installation of Visual Studio C++

This subject covers the installation of the Microsoft Visual Studio C++ compiler with appurtenant tools. Other subjects deal with installation of the Notes C and C++ APIs.

We will focus on the release 6.0 of Visual Studio. Why ? Because I haven't got the new Visual Studio .NET to compile Notes applications correctly - yet!

What on earth is a compiler ?

You have maybe heard the term "compiler" before ? Well, Visual Studio is basically that, a compiler with appurtenant tools such as editor, linker, help system and so forth. From Webopedia we see this definition:

compiler

A program that translates source code into object code. The compiler derives its name from the way it works, looking at the entire piece of source code and collecting and reorganizing the instructions. Thus, a compiler differs from an interpreter, which analyzes and executes each line of source code in succession, without looking at the entire program. The advantage of interpreters is that they can execute a program immediately. Compilers require some time before an executable program emerges. However, programs produced by compilers run much faster than the same programs executed by an interpreter.

Every high-level programming language (except strictly interpretive languages) comes with a compiler. In effect, the compiler is the language, because it defines which instructions are acceptable.

Because compilers translate source code into object code, which is unique for each type of computer, many compilers are available for the same language. For example, there is a FORTRAN compiler for PCs and another for Apple Macintosh computers. In addition, the compiler industry is quite competitive, so there are actually many compilers for each language on each type of computer. More than a dozen companies develop and sell C compilers for the PC.

So in other words, Visual Studio is the tool you need to transform C or C++ into executable files.

In This Section

How to install the Visual Studio product ?

Step by step to install service pack

How to you change options and settings in Visual Studio ?

Necessary modifications

Cool modifications

Additional Tools you might want

See Also

Installation

Installation of APIs

Previous Topic

Next Topic

Book Contents

Book Index

How to install the Visual Studio product ?

This subject covers the installation of Visual Studio itself. Remember that this product, like many other, also have upgrades in the form of Service Packs.

Instead of wading through heaps of dialog boxes for each step, this subject focus on the differences from a standard install. In other words, what you have to that differs from a straight "just push enter all the way"-install.

You find the complete step-by-step guide here.

See Also

Installation of Visual Studio C++

Step by step to install service pack

How to you change options and settings in Visual Studio ?

Necessary modifications

Cool modifications

Additional Tools you might want

Previous Topic

Next Topic

Book Contents

Book Index

If you have Visual Basic installed before you attempt to install Visual Basic, you should uninstall the old VB first

Visual Studio contains the full version of Visual Basic 6.0. However, if you already has installed Visual Basic, the Visual Studio will complain about this. In fact, you have to uninstall the previous Visual Basic before you continue. But this does not normally pose a problem, since you get the same version of Visual Basic.

If you for some reason don't like this, you could try products such as VMware Workstation. That product will let you have multiple, concurrent operation systems running at the same time! If your for example normally work with Windows XP, you can easily have an another concurrent session of Windows 2000. This software is ideal for testing and installation of "can't really run alongside"-software!

See Also

How to install the Visual Studio product ?

Determine what programming languages you want to work with

Determine if you will need Unicode-support

If you plan to work with databases, take it slow around the database access options

If you got the MSDN-CD or DVD, install it - but be certain about the version!

When finished, proceed to the Service Pack 5 install

Previous Topic

Next Topic

Book Contents

Book Index

Determine what programming languages you want to work with

The Visual Studio software comes with languages like Visual Basic, Visual Interdev and Visual Fortran in addition to C and C++. You can save disks pace if you don't install everything.

See Also

How to install the Visual Studio product ?

If you have Visual Basic installed before you attempt to install Visual Basic, you should uninstall the old VB first

Determine if you will need Unicode-support

If you plan to work with databases, take it slow around the database access options

If you got the MSDN-CD or DVD, install it - but be certain about the version!

Previous Topic

Next Topic

Book Contents

Book Index

Determine if you will need Unicode-support

By default, the Visual Studio-installer doesn't install the Unicode libraries. These libraries are needed if you want to make so-called native applications on Windows NT, Windows 2000 or Windows XP. Since all these operating systems work with Unicode internally, it means that they (the OSs) translate any ANSI-application during execution. This is unnecessary if you make NT,W2K or XP-only applications.

I recommend installing these libraries.

When finished, proceed to the Service Pack 5 install

See Also

How to install the Visual Studio product ?

If you have Visual Basic installed before you attempt to install Visual Basic, you should uninstall the old VB first

Determine what programming languages you want to work with

If you plan to work with databases, take it slow around the database access options

If you got the MSDN-CD or DVD, install it - but be certain about the version!

When finished, proceed to the Service Pack 5 install

Previous Topic

Next Topic

Book Contents

Book Index

If you plan to work with databases, take it slow around the database access options

By default, the Visual Studio-installer install some database access, and leave other support out. You have to look through the details if you plan to work with databases.

See Also

How to install the Visual Studio product ?

If you have Visual Basic installed before you attempt to install Visual Basic, you should uninstall the old VB first

Determine what programming languages you want to work with

Determine if you will need Unicode-support

If you got the MSDN-CD or DVD, install it - but be certain about the version!

Previous Topic

Next Topic

Book Contents

Book Index

If you got the MSDN-CD or DVD, install it - but be certain about the version!

First of all - the MSDN-CD offers unparallel help support. When you have any errors during compile or link, just mark the error code and press F1 !

In addition it contains tons of articles and other useful stuff.

The MSDN CDs now comes in two favours - One "old" version supporting Visual Studio release 6.0, and one new version supporting the new Visual Studio .NET. Be sure to install the correct version for your version of Visual Studio!

When finished, proceed to the Service Pack 5 install

See Also

How to install the Visual Studio product ?

If you have Visual Basic installed before you attempt to install Visual Basic, you should uninstall the old VB first

Determine what programming languages you want to work with

Determine if you will need Unicode-support

If you plan to work with databases, take it slow around the database access options

When finished, proceed to the Service Pack 5 install

Previous Topic

Next Topic

Book Contents

Book Index

When finished, proceed to the Service Pack 5 install

Don't stop now! The compiler and linker in Visual Studio got numerous updates in this service pack, and you shouldn't miss it!

If you don't have the Service Pack CD, you can download it from Microsoft here.

You find the step-by-step guide to install SP 5 here.

See Also

How to install the Visual Studio product ?

If you have Visual Basic installed before you attempt to install Visual Basic, you should uninstall the old VB first

Determine what programming languages you want to work with

Determine if you will need Unicode-support

If you plan to work with databases, take it slow around the database access options

Previous Topic

Next Topic

Book Contents

Book Index

Step by step to install service pack

As for most products - so also for Visual Studio - comes bug fixes and new features. These changes are often collected in so-called service packs or service releases. This subject will guide you through the install of the Service Pack 5 for Visual Studio.

Rest assure, the installation of the service pack are much more straight forward, and since you're pretty warm from the previous install round, you'll mostly see dialogs in this subject!

If you got the MSDN-CD or DVD, install it - but be certain about the version!

See Also

Installation of Visual Studio C++

How to install the Visual Studio product ?

How to you change options and settings in Visual Studio ?

Necessary modifications

Cool modifications

Additional Tools you might want

Previous Topic

Next Topic

Book Contents

Book Index

Load the CD or DVD containing the service pack 5

Locate this icon and double click to launch.

See Also

Step by step to install service pack

Service Pack 5 setup starts

Accept license

Copying files ...

Once again - reboot windows

Previous Topic

Next Topic

Book Contents

Book Index

Service Pack 5 setup starts

See Also

Step by step to install service pack

Load the CD or DVD containing the service pack 5

Accept license

Copying files ...

Once again - reboot windows

Previous Topic

Next Topic

Book Contents

Book Index

Accept license

See Also

Step by step to install service pack

Load the CD or DVD containing the service pack 5

Service Pack 5 setup starts

Copying files ...

Once again - reboot windows

Previous Topic

Next Topic

Book Contents

Book Index

Copying files ...

See Also

Step by step to install service pack

Load the CD or DVD containing the service pack 5

Service Pack 5 setup starts

Accept license

Once again - reboot windows

Previous Topic

Next Topic

Book Contents

Book Index

Once again - reboot windows

Coming here, you have gone through a pretty decent install-procedure! Now the compiler is in place, and we're ready to install the APIs.

See Also

Step by step to install service pack

Load the CD or DVD containing the service pack 5

Service Pack 5 setup starts

Accept license

Copying files ...