Building VTP with Visual C++ 6

You'll need to do the following:

  1. Make sure you have a later service pack of VC6, at least SP3.
  2. Install STLport (get the latest version from their download page)
  3. Configure STLport

    You will need to configure STLport by changing (uncommenting) the following line in the file STLport-4.5.3\stlport\stl_user_config.h

    # define _STLP_NO_OWN_IOSTREAMS 1 // Use the compiler native IOSTREAM library.

    You do not have to compile STLport - with the above change, your will only be using the header files.

  4. Add STLport to the include paths to your development environment

    \APIs\STLport-4.5.3\stlport

    (Path will be different if you installed the libraries in different locations.)

    Note that order is important!  Specifically, the STLport directory must be your very first include path so that you will not have conflicts with the STL included in MSVC.

  5. Since .dsp/.dsw aren't maintained with the VTP source, you'll need to generate them.  One tool that may work is the free Code Project - VC++7 to VC++6 project converter