Environment Variables for Visual Studio V6

This procedure is for computers that are not simultaneously hosting Cygwin and Microsoft Visual Studio. Only use this procedure if the Cygwin Java/C++ development environment is not going to be installed.

  1. Update environment variables with these values.

    This information comes from the file VCVARS32.bat. It sets a bunch of environment variables. Since I don't want to run this batch procedure every time I start the computer, we will enter them in manually once here.

    Of course, you might have to adjust this if you have installed on a different directory. Notice the bolded "WINNT". This must be changed to WIN95 if the operating system is not Win2000 and not Windows NT.

    Very important: Don't delete any existing entries in the PATH, INCLUDE or LIB variables (or you will be very sorry). If they don't exist, you will have to create them with the new button. In most cases you will just append them on the end and separate each entry with a semicolon (";").
    PATH C:\PROGRA~1\MICROS~4\Common\msdev98\BIN;C:\PROGRA~1\MICROS~4\VC98\BIN;C:\PROGRA~1\MICROS~4\Common\TOOLS\WINNT;C:\PROGRA~1\MICROS~4\Common\TOOLS
    INCLUDE C:\PROGRA~1\MICROS~4\VC98\ATL\INCLUDE;C:\PROGRA~1\MICROS~4\VC98\INCLUDE;C:\PROGRA~1\MICROS~4\VC98\MFC\INCLUDE
    LIB C:\PROGRA~1\MICROS~4\VC98\LIB;C:\PROGRA~1\MICROS~4\VC98\MFC\LIB

    Additional symbols for my OS independent makefiles. Notice the "rm" for delete. This is for compatibility with the bash (unix-like) shell I run inside emacs. I recommend the emacs/bash combination on WinNT. However, students who want to manually run make should use "del" instead of "rm".

    Note the "cl" below is two letters.

    Note the use of the tilde characters. These must be determined by trial and error.

    CPP_COMMONFLAGS  
    CPP_COMPILE cl
    CPP_COMPILEFLAGS /c /nologo /MLd /W3 /Gm /GX /GR /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /D "NOPROMPT"
    CPP_LINKFLAGS /link "/subsystem:console /incremental:yes /debug"
    CPP_CURRENTDIR ".\\"
    CPP_LINK cl
    CPP_OBJ .obj
    CPP_EXE .exe
    CPP_CPP .cpp
    CPP_HEADER .h
    CPP_DELETE rm

    Some additional ones for java are
    MAKE c:\progra~1\micros~4\vc98\bin\nmake.exe
    JDK C:\JDK1.3

    Notice the ~4. This is arrived at by trial and error. The full name is C:\Program files\Microsoft Visual Studio\Vc98\Bin\NMAKE.exe however this does not work because there are spaces in the file name. So instead you must type in "Dir c:\progra~1\micros~1" to see if that is a directory with Vc98 in it. It does not. Then try "Dir c:\Progra~1\micros~2" and see if this one has a VC98 directory in it. It does not... See the explanation of this tilde notion for more information.

    1. Install Visual J++
      1. Use the start button, select setup and Add/Remove programs. Click on CD or Floppy. 
      2. Specify D:\US\VS60EE\VJ60\SETUP.EXE (assuming drive D is the CDROM/DVD drive).
      3. Scroll thru the first portion of the readme file. On this one it warns about installing on top of prevoius installation. Take appropriate action (like removing the previous installation before proceeding).
      4. Accept the EULA agreement.
      5. It asks what we want to install. Take the default of Visual J++ 6 (or a later version, of course).
        1. Install Visual J++ 6. Click next.
          1. Click continue.
          2. Write down the product ID.
          3. Use the default folder of c:\program files\Microsoft Visual Studio\VJ98 unless we have a multiply partitioned system in which case select some other partition.
          4. Select custom
            1. Microsoft Visual J++
              1. MSVJ++ core files (yes -- default)
              2. Java Class library source code (always -- its only 1K)
              3. Project templates (yes -- default)
              4. Self-installing EXE redistributable files (yes, default)
            2. Data Access (see the options for Visual Studio)
            3. Graphics (select all if we have gobs of disk space. I'm not likely to use it -- but it might be nice to play with it and know its available).
            4. Professional Tools (yes -- all)
            5. Tools (yes - all) time = 14:55
          5. Restart windows again. time = 14:59. 
          6. After rebooting It will want to install MSDN, Cancel it.
        2. Now install server applications by running the same setup program we ran previously to install VJ++. Click default of Visual j++ which includes
          1. MS Data Access Components
          2. Remote machine debugging
          3. Front Page Server Extensions
          4. Posting Acceptor (2.0)
          5. Visual J++ Server
    2. Install MSDN. These DVD disks come about every three months, be sure to get the latest one. For some strange reason, it comes in a separate little opaque black case instead of a regular jewel case for CDs. If you are installing from CD's, the MSDN come in a jewel case that holds 3 or 4 disks.
      1. For MSDN library setup, select FULL for notebook computers that have a lot of space so we don't have to have the disks with us. For others, click Typical.
      2. Sure, put a short cut. Now it will take while. 
  2. Install the Soap Toolkit for Visual Studio 6 at http://msdn.microsoft.com/net/default.asp#aspplus downloading directly from SOAP Toolkit for Visual Studio 6.0 .
  3. Install ActiveX Control Pad.

    Back to Win2000 Installation.

     
 

 

Send mail to webmaster@SIGNITEK.com with questions or comments about this web site.