Using Microsoft C++ .NET 2003 compiler with Visual LANSA V10

Date:Archived
Updated:11 August 2005
Product/Release:Visual LANSA V10
Abstract:What you need to set-up before using the Microsoft C++ .NET 2003 compiler with Visual LANSA V10 for compilation
Submitted By:LANSA Technical Support

Description:

If you are using Microsoft C++ .NET 2003 compiler with Visual LANSA V10 you need to check two environment variables:

VS71COMNTOOLS
and
VSCOMNTOOLS

Visual Studio .NET 2003 uses the environment variable called VS71COMNTOOLS.

But for Visual LANSA V10 the environment variable is VSCOMNTOOLS.

Hence you need to set VSCOMNTOOLS to have the same path as VS71COMNTOOLS.

At the DOS command type the following command to find the path

SET VS71COMNTOOLS

Its path should be similar to:

C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools

You will need to create VSCOMNTOOLS variable as a copy of VS71COMNTOOLS. To do this choose Start -> Settings -> Control Panel -> System -> Advanced for Environment Variables:

Update:

The path assigned to VSCOMNTOOLS must be enclosed in double quotes. This was introduced by Microsoft MS C++ .NET (version 7). eg:

VSCOMNTOOLS = "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools"

Environment Variables example screen