Category : C++ Source Code
Archive   : TI1398.ZIP
Filename : TI1398.ASC

 
Output of file : TI1398.ASC contained in archive : TI1398.ZIP







PRODUCT : Borland C++ NUMBER : 1398
VERSION : 3.x
OS : DOS
DATE : July 14, 1993 PAGE : 1/1

TITLE : tools.h++ from Rogue Wave conflicts with Turbo Vision




Tools.h++ from Rogue Wave conflicts with Turbo Vision.

The header file defs.h from Rogue Wave Tools.h++ contains these
lines:

// The following is for your convenience and can be removed
// if it conflicts with some other package:
#define Boolean RWBoolean

If you are using Tools.h++ with Turbo Vision, it will lead to
conflicts since TV has the following definition for Boolean:

enum Boolean { TRUE, FALSE };

Commenting out the #define in defs.h from Tools.h++ resolves the
conflict.

In the case where this was initially encountered, a virtual
function being redefined in a derived class was seen by the
compiler to have a different signature. Thus, instead of being a
redefinition, it hid the base class function. Then a call to
(baseClass*)->virtualFunction got the base class function instead
of the intended derived class' version.


DISCLAIMER: You have the right to use this technical information
subject to the terms of the No-Nonsense License Statement that
you received with the Borland product to which this information
pertains.






















  3 Responses to “Category : C++ Source Code
Archive   : TI1398.ZIP
Filename : TI1398.ASC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/