OWLNext Home

~ Setting up Borland C++ 5.01/5.02 to work with OWLNext ~


Home
About OWLNext
Getting started
Prerequisites
Patching
Building
Configuring
Tutorials
Documentation
Downloads
Articles
Links
Discussions
Setting up environment variables

For building OWLNext applications I recommend to set the environment variable OWLROOT to point to the root folder where OWLNext files are installed, and set BC5ROOT to point to the installation folder of Borland C++.
An advantage of using these environment variables is that projects are easily transferred from one computer to another without having to modify the project files.
See also: Setting up environment variables under Windows 2000/XP.

Setting up defaults for Borland C++ 5.01/5.02 IDE

Start the IDE and make sure no project is open. From the menu Options->Project open the Project Options dialog:
Project Options
For the include directories enter
$env(owlroot)\include;$env(bc5root)\include
and for the library directories:
$env(owlroot)\lib;$env(bc5root)\lib
Note that OWLNext folders should precede the Borland C++ ones.

Afterwards go to the Linker/32-bit Linker settings and turn off Incremental linking:
Linker Options

The incremental linker included with Borland C++ 5.02 was quite buggy and it is better to not use it.

Setting up additional files

To use Borland C++ 5.02 AppExpert with OWLNext some files need to be updated. Download apx_upd.zip and extract it in (bc5root)\expert\owl

OWLNext does not use the old BIDS libraries, but Borland C++ 5.01/5.02 by default includes them in the projects. To avoid errors, download bids.zip and extract it in the (owlroot)\lib folder, where OWLNext libraries should be.

Borland put its OWL and class library headers in separate directories. OWL Next puts all these headers in one directory instead. But old programs expect to find class library headers elsewhere. To allow old programs to work, OWL Next provides dummy headers that reside in a class library directory and simply include the appropriate OWL Next header. Download compat.zip to get these dummy headers. These headers are helpful for getting old code to work quickly. But for applications that you plan to maintain, you really should change your source code to reflect the new header locations.

Other recommended downloads for Borland C++ 5.02 are the JIdeTool Add-on, scripts.

If you want to use a wheeled mouse with BC5.02, check this page.



Last updated: 17 May 2007


Hosted by
SourceForge Logo