TV mixed and matched

Last changed 1995.01.29


It is feasible to compile TV code with different BC versions provided that you follow three simple steps

  1. ensure that the old version of TV will not interfere with the new one and, if applicable, that the second version of the compiler is out of the way;
  2. revise the TV source code to conform with the compiler you will use; and
  3. build the new TV library.

The specifics will change depending on which version of the compiler and of Turbo Vision you intend to use. More information follows.

TV 1.x and BC4.x

In this case, the Turbo Vision library must be re-compiled with BC4x. The reasons for doing so are the differences in debug format, symbol length and the runtime library.

For particulars on how to do this, read TI1752 and TI1753.

TV 2.0 and BC 3.1

You can compile the TV2.0 source code with BC3.1. Doing so does not allow you to generate protected mode applications or link BC4x libraries but it does retain the advantage of using the integrated debugger in the IDE and development in a DOS environment with the final production build done with BC4x.

Changes to source code files are necessary because of the developments in C++ since BC3.1. It means that libraries need to be re-compiled having first patched the source code from the file TV2BUG.ZIP.

You need to ensure that TV1.03 files do not conflict with TV2.0 files, possibly by renaming the Turbo Vision directory or deleting them if no longer required. At the same time, take the necessary precautions to prevent the BC4x and makefiles being called on.

For detailed information, obtain the file B31TV2.ZIP which provides guidelines and a makefile - put together by Eric Woodruff - to help you adapt the code to your compiler.