CW 4.5 includes the following new features:
- A complete encapsulation of OLE2 via new ObjectWindows classes
and the ObjectComponents Framework, a new set of C++ classes. This
allows you to develop applications that support the following
16-bit OLE capabilities:
* Linking and embedding containers
* Linking and embedding servers
* Automation servers (automatable servers)
* Automation controllers
* OLE clipboard operations
* OLE drag and drop operations
* In-place editing
* OLE user interface, including menu merging, pop-up menu
for activated object, verbs on container's Edit menu
* Compound file storage
* Localized strings for international support
* Type libraries
- New utilities to make OLE programming easier:
* WinRun allows you to launch Window application from the
MS-DOS prompt in Windows 3.1. (See UTILS.TXT for
* AutoGen, MacroGen, GuidGen produce helpful class
declarations, macro,s and OLE identifiers automatically
* DllRun and Register simplify running and testing DLL
- IDE enhancements to TargetExpert, AppExpert, and ClassExpert to
support the new OLE2 capabilities.
- Support for ANSI C++ exception handling, structured exception handling
under C, and mixed C/C++ exception handling.
- Support for ANSI C++ operator new and operator delete.
- Runtime Library support for the ANSI C++ string class.
- Support for ANSI C++ runtime type identification (RTTI).
- Support for ANSI C++ new style casts dynamic_cast, static_cast, const_cast,
- Support for three character types as provided in ANSI C++.
- Linker debug capacity expanded.
- Integrated GUI debugging for 16-bit Windows applications.
- A new project manager that supports multiple targets, drag-and-drop,
and Style Sheets for associating options.
- AppExpert, which simplifies the process of creating
ObjectWindows applications through code generation.
- ClassExpert, which simplifies adding and managing classes in
your AppExpert application.
- Transfers, Settings Notebook, SpeedMenus, and a configurable SpeedBar.
- Expanded editor support, including column blocking and window
splitting. TEMC now called KEYMAPR.
- Resource preview
- Auto ID numbering
- Auto mapping of accelerators and help hints to menu items
- Support for VBX controls
- Dialog editor property inspector
- Integrated with ClassExpert and IDE project manager
OBJECTWINDOWS LIBRARY (OWL)
- Complete coverage of Windows API, including GDI
- Single source for Win 3.1, Win 32s, and NT
(building 32-bit applications requires Borland C++)
- Built in exception handling using standard C++ exceptions for robust error
- Built-in type safety using standard C++ templates
- Toolbars, status lines, and print preview
- Flexible Document/View architecture
- Supports VBX 1.0 controls in a dialog or window
- Layout Windows
- Mix-in architecture
- Support for 3d controls
- Support for BWCC controls
- Gadgets and Widgets
- Printing and print previewing support
- Five new sample programs:
- OpenHelp, a utility that enhances the functionality of Windows Help
by allowing you to quickly search for topics across Help files, as
well as the ability to add your own Help files (or remove them) from
- Documentation in the Acrobat 2.0 document viewing browser.
Acrobat lets you search through the entire documentation set to find
selected topics. You can view the contents page by page and
print sections of particular interest.
- Borland's visual tools, such as Resource Workshop, provide
support of VBX 1.0 controls via a DLL called BIVBX11.DLL. You can
freely distrubute this DLL with programs you create that use VBX
BIVBX11.DLL has been tested with a large number of VBX controls written to
the Microsoft Visual Basic 1.0 CDK specification. If you have a problem with
a specific control, make sure that it does not require VB 2.0 or VB 3.0 CDK
functionality. VBX 2.0 and 3.0 controls will usually display a message saying
that they require VB 2.0 or 3.0 support. In some cases, though, the control
may appear to work but exhibit instability. Please contact the control vendor
and explain the problem. They may have an updated control or may be able to
contact Borland to find a solution.
Acrobat Reader 2.0
The four books available online duplicate material
already in the online Help. We recommend using the Acrobat
Reader to read long sequences of material in order and
the online Help when searching for specific information by
The Acrobat Reader is capable of high-quality printed
output. You might prefer to print sections of the manuals
that you use frequently.
Importing Project Files from Borland C++ 4.x
When TCW loads an .IDE file created with Borland C++, it
shows a dialog box warning that the project might contain
target types and option settings that TCW does not
support. If you click Yes to import a BC project, TCW
ignores any optimization settings the project might
contain. The TCW project manager displays DOS targets and
Win32 targets, but attempting to build them causes errors.
For more details about what project features might
cause problems for TCW, click the Help button in the
warning dialog box.
You can disable the dialog box, if you prefer, with the
following setting in your TCW.INI file.
With this setting, TCW automatically converts any .IDE
file without warning.
Borland C++ reads TCW .IDE files without difficulty.
TCW 4.5 does not support development of OWL 1 applications.
The differences between OWL 1 and the current OWL 2.5 are
large enough to render them incompatible. You will need to
convert your OWL 1 programs to use OWL 2.5 before you can
build them. For help converting, see Appendix A of the
ObjectWindows Programmer's Guide in the online
Quick Tour Help File
To get you started quickly with using Turbo C++ for Windows, take
a look at the online Quick Tour. The Quick Tour provides an
overview of the product, with animated demonstrations of its many
Although you can view the Quick Tour at any screen resolution, a
resolution of at least 800 x 600 is recommended.
C/C++ Language Changes
Many changes were made to the compiler in compliance with the
latest changes proposed by the ANSI C++ committee. These include
three distinct char types, enhancements to templates, support for
virtual functions differing in return types, and other improvements
listed here. See the Library Reference and the Programmer's Guide
for complete details on these changes and how they affect your
wchar_t is a fundamental data type in C++ programs. In C programs it
continues to be a typedef defined in stddef.h. See online Help.
Enum operator overloading is also supported.
The runtime library now supports the ANSI C++ string class. If you
already have a string class, it must be renamed for Turbo C++ 4.5.
In addition, operator new and operator new now throw an
exception (xalloc), as specified by the ANSI C++ committee.
To get the old behavior, you can issue set_new_handler(0).
(set_new_handler(0), however, does not work with ObjectWindows
or string classes.) See Chapter 3 of the Programmer's Guide.
Arrays are now being allocated through operator new() and deleted
by operator delete(). An example is provided in Chapter 3 of the
Turbo C++ 4.5 implements ANSI C++ runtime type identification (RTTI).
See the Library Reference, "C++ runtime support", for a description
of class Type_info. RTTI and operator typeid() are fully described in
Chapter 3 of the Programmer's Guide.
Turbo C++ provides a full implementation of exception handling
under C++ and C. C exceptions can be handled in C or C++ code;
C++ exceptions can be handled only in C++ code. The C++ exceptions are
described in the Library Reference, "C++ run-time support." See Chapter 4
of the Programmer's Guide for a full description of how to use exception
Turbo C++ 4.5 also implements the accepted ANSI C++ new style casts.
See the Chapter 3 of the Programmer's Guide for information and
Download link ^^