er that runs on NT or Windows 95. (For those who may be porting from Delphi to C++ Builder, C++ Builder's Local InterBase server running on Win 95 appears compatible with Delphi's InterBase NT server. I successfully ran a couple of simple Delphi applications using the C++ Builder InterBase server.)
The similarities reach deeper. The preliminary C++ Builder manuals Borland gave me -- Component Writer's Guide and Database Application Developer's Guide -- are chapter-for-chapter equivalents to the corresponding Delphi manuals. Actually, they are section-for-section equivalents. The code example snippet given in the Delphi manual for using the
DataSets
and
DataSetCount
properties of the
TDatabase
component (written in OO Pascal) is reincarnated in the C++ Builder manual in C++. Understand, this is a good thing: It's a testimony to the compatibility of the two systems.
Not that there's any need to abandon Object Pascal; C++ Builder's DCC32 compiler can handle Object Pascal code generated in Delphi. I experimented with mixing C++ and Object Pascal code in a sample project and encountered no difficulties doing so.
The foundation atop which C++ Builder stands is Borland's 32-bit 5.0x C++ compiler. (Strictly speaking, the documentation says you must recompile object code and library modules for programs built with C++ 5.01 or earlier.) However, to support such things as C++ Builder components, Borland has had to extend the compiler with several keywords, all of which should be familiar to Delphi developers. For example, the
__property
keyword precedes the declaration of a property field within a class definition. This allows the compiler and linker t
o generate all the information necessary to provide the property inspector what it needs to correctly display properties associated with a component.
These are the days of the morphing integrated development environment, when the same development system that builds C++ code also builds Java code (or even Pascal code, as in the case of Metrowerks CodeWarrior). In that sense, C++ Builder, though perhaps unexpected, is at least logical.
Where to Find
C++ Builder 1.0........................Price to be determined
Borland International
Scotts Valley, CA
Phone: (408) 431-1000
Internet:
http://www.borland.com
Circle 991 on Inquiry Card.