Installing Mediator components for Delphi

Installing Mediator components for Delphi

For simplicity we assume Mediator client is installed in c:\medcl directory. Replace this directory with the one that match your installation environment.

Step 1: Installing required DLL files

Both Delphi IDE and applications which use components require the following DLL files to be accessible:

harbour.dll

medhbw.dll

medhbudf.dll

To make them accessible, either

a) Add c:\medcl\client\xbapi\bin\buildXXX directory to system path, or

b) Copy mentioned DLL files to Borland\DelphiYYY\bin directory (close Delphi before doing so)

In most cases is it preferable to choose the most recent version of DLL files (these located in the directory with the highest XXX number in buildXXX name).

Step 2: Removing old version of the package

If previous version of the package was installed:

·run Delphi IDE, select Component/Install packages

·highlight 'Mediator ....' package

·press Remove button to remove package and Ok to exit

Step 3: Installing the package

·run Delphi IDE, select File/Open

·select c:\medcl\client\xbapi\delphi\dataset\delphi7\Mediator.dpk package

·click Install icon

·if everything is Ok, you should receive the message informing you that new package has been installed and new components registered

·from now on, the Mediator tab should be available in component palette.

That's all. Now you can start using Mediator components for Delphi.