Install Math Parser Component in Delphi
Below instructions are for Delphi 7 and earlier. To install in newer Delphi versions, check out Install in Delphi 10.3.3 page.
The Delphi 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 DCU form (.dcu files).
The TbcParser Mathematical Expression Parser component is shipped as Delphi source code which can be used as a component in Delphi or C++ Builder. There are BPL package files for Delphi 2006, 2007 and C++ Builder
2006 for your convenience as well.
The evaluation version of TbcParser comes as BPLs, binary OBJ files (for C++ Builder) or DCU files (for Delphi) for which the installation procedure is similar.
If you are new to Delphi, for an example of installing BPL component packages in Delphi 2006, checkout our isapi component installaton page. The process is the same for all components.
Delphi 7 Component Installation Example
Step 1: Unzip the component in any directory you want.
Step 2: Click the �Install Component� menu
Step 3: Click �Browse� button in the Install Component Dialog Box to browse for the Component file to install and Click ok once you have the correct file choosen:
Step 4: Click �YES� when asked to rebuild the component package:
Step 5: Click �OK� when presented with the �Component Registered� information dialog:
Step 6: Component appears in the component pallette:
bcParserEx which appears next to bcParser icon is an example of extending the TbcParser component for your own needs. It adds basic string literals support in the expression.
Happy coding!
|