Borland had released the first integrated
development environment (IDE) for C++ in the old DOS times - Turbo C++ 1.0. After that followed Turbo C++ 2.0,
Borland C++ 3.x, Borland C++ 4.x, Borland C++ 4.5x and Borland C++ 5.x.
The last in this line is Borland C++ 5.02. It is fairly good IDE, with powerful built-in script
engine and Add-On interface for customizing and enhancing the environment.
Borland C++ Bug information:
RTL memory manager bug: read more information here.
Linker error - (1,1) Bad object file record in module xxx near module offset 0xyyyyy. -
read the post by Goran Bervar.
There is a problem that 16-bit programs running under Windows 2000 causes exception in WOW32.DLL.
Read the solutions here.
64-bit integer arithmetic: The compiler calls the wrong function when using the /= operator. An example:
__int64 a = -16, b = -8;
__int64 c = a / b; // Correct: c = 2
a /= b; // Wrong: a = 0
The solution is to use a = a / b instead of a /= b. This bug is fixed in Borland C++ 5.5. Submitted by Jean Tourloupe
Exception handling bug: read more information here.
Borland C++ 5.02 and Windows 2000 Information. Under Windows 2000 the File Open dialog appears in
Win3.1 style and do not support mutiple file selection. This problem can be solved by using the
APCOMPAT.EXE tool.
After installing the tool, from the console execute the command apcompat -v3 -xc:\bc5\bin\bcw.exe -k
The meaning of the switches is:
-v3 - Windows NT 4 with Service Pack 5
-xc:\bc5\bin\bcw.exe - Location of the program. If Borland C++ is not installed in C:\BC5,
modify the command accordingly.
-k - Store the information in the registry.
After executing the command, the compatibility information is stored in the registry.
I have exported the key, so those who do not have the tool can download, unzip and import
BCW.zip.
Borland C++ 5.02 and Windows XP Information. The same problem with the File Open dialogs is present in
Windows XP and can be solved either by using the same registry file, or by using the
Compatibility settings: Go to the folder C:\BC5\BIN\ (if BC5 is istalled in folder
other than C:\BC5, substitute the location), locater the file BCW.EXE, right-click
and select Properties. In the property dialog there is a Compatibility page, where
Windows NT 4.0 (Service Pack 5) compatibiliti mode can be specified.
TD32 and Windows XP Information
Official Borland C++ Developer Support - links to patches, docs and FAQs.
The patches for Borland C++ 5.02 are:
Windows Help patch
This patch fixes problems associated with generating a full text search
database using the WinHelp Find tab. Also fixes bitmap display problems in the Win32 reference.
Borland C++ patch #1
This patch fixes problems with exception handling, internal compiler
errors, .odl file processing, and improper implementation of mutability.
Grep 5.0
Fixes problem with regular expression searches.
Y2K Update
Contains updated version of TDUMP.EXE and updated sources for
TDate and TTime classes
The docs include updates to the help files and tutorials for OWL and the integrated debugger.
A page created by Kent Reisdorph and Ian Spencer. Not updated anymore, but contains a lot of tips and tricks
for using the IDE, OWL and the scripting engine. Some of the topics on the site are:
Floating point problems when using common controls.