Component Installation in C++ Builder
C++ ExampleTable of ContentsInstall in Delphi

The C++ Builder IDE allows the developer to install the components that come as BPL package (a kind of DLL), or as source code (.cpp or .pas files) or as in OBJ form (.obj files).

The TbcParser component evaluation is shipped as BPL package for C++Builder 2006 and Delphi 2006, 2007 and OBJ files for C++ Builder 5 and 6, DCU files for Delphi 5, 6, 7.

When you purchase the component, it comes as Delphi source code which can be used as a component in any version of Delphi or C++ Builder. There are BPL packages for Dephi 2006,2007 and C++Builder 2006 for your convenience as well.

For C++ Builder 2006, you can install the package bcParserC.bpl, or you can build your own package from the source and install it.

If you are new to C++Builder, for an example of installing BPL component packages in C++Builder 2006, checkout our isapi component installaton page. The process is the same for all components.

C++ Builder 5 Component Install Example

The installation instructions for the evaluation version of TbcParser Mathematical Expression Parser for C++ Builder 5 is as follows: (C++ Builder 6 is the same and in Delphi, you install the DCU file instead of the OBJ)

Step 1: Unzip the component in any directory you want.

Step 2: Click the “Install Components” menu

 

Step 3: Click “Browse” button in the Install Component Dialog Box to browse for the Component file to install:

 

Step 4: Click ok once you have the correct file choosen:

 

Step 5: Ignore the error message from the buggy editor:

 

Step 6: Click “YES” when asked to rebuild the component package:

 

Step 7: Click “OK” when presented with the “Component Registered” information dialog:

 

Step 8: Close the text editor without saving the OBJ file:

 

Depending on where your component files are (OBJ and HPP files), you may need to include them in your project setting in the includes path and the library path:

Happy coding!

 

webmaster@bestcode.com