# Common Information

If you used the freeware version (0.5), read the section at the end of this file.

Important! If you have another version of RichView Package installed, delete it from your hard disk before installing this version! If an older version remains in paths where Delphi/C++Builder searches for units, you will not be able to compile/run your applications with RichView properly. Even if the new version is installed, Delphi/C++Builder may compile projects with the older version (if it was not deleted).

Below are the instructions how to install components, how to run demos, how to integrate help into IDE. (Help file is integrated with more or less completeness, depending on version of Delphi/C++Builder)

# Briefly

## Files

Subdirectory in TRIAL | Delphi/C++Builder Version
--- | ---
D4 | Delphi 4
D5 | Delphi 5
D6 | Delphi 6
D7 | Delphi 7
D9 | Delphi 2005 (Delphi for Win32)
2006 | Turbo Delphi 2006, Borland Developer Studio 2006
D2007 | Delphi 2007 (Win32) (cannot be installed with the packages for C++Builder 2007)
D2009 | Delphi 2009 (Win32) (cannot be installed with the packages for C++Builder 2009)
D2010 | Delphi 2010 (Win32) (cannot be installed with the packages for C++Builder 2010)
DXE | Delphi XE (Win32) (cannot be installed with the packages for C++Builder XE)
CB4 | C++Builder 4
CB5 | C++Builder 5
CB6 | C++Builder 6
TCPP | Turbo C++ 2006
CB2007 | C++Builder 2007 (cannot be installed with the packages for Delphi 2007)
CB2009 | C++Builder 2009 (cannot be installed with the packages for Delphi 2009)
CB2010 | C++Builder 2010 (cannot be installed with the packages for Delphi 2010)
CBXE | C++Builder XE (cannot be installed with the packages for Delphi XE)

## Brief Installation Instructions, for All Versions of Delphi and C++Builder

1. Open RVPkg*.* package, install it.
2. Open RDBVPkg*.* package, install it.
3. Make sure that the path to TRichView units is included in the library path.

The detailed installation instructions are below:

- Delphi 4,5,6,7
- BDS 2005
- BDS 2006, Turbo Delphi 2006
- Delphi 2007
- Delphi 2009,2010,XE
- C++Builder 4,5,6
- Turbo C++ 2006
- C++Builder 2007
- C++Builder 2009,2010,XE

# Delphi 4,5,6,7

## Installing the Components

The components for Delphi 4/5/6/7 are in D4/D5/D6/D7 subfolder of the TRIAL folder.

The help file is in HELP directory.

Open RVPkgD4.dpk / RVPkgD5.dpk / RVPkgD6.dpk / RVPkgD7.dpk (menu "File|Open") and click the "Install" button in the package window.

Repeat the steps above with the packages RVDBPkgD4.dpk / RVDBPkgD5.dpk / RVDBPkgD6.dpk / RVDBPkgD7.dpk.

Make sure that the path to TRichView units (D4/D5/D6/D7 subdirectory) is included in the Delphi library path (menu "Tools | Environment Options", tab "Library", "Library Path").

## Installing Help in Delphi 4

1. Copy RichView.hlp and RichView.cnt to HELP directory of Delphi
2. Open Delphi4.cfg in HELP directory of Delphi, and add line:
   :Link RichView.hlp
3. Open Delphi4.cnt in HELP directory of Delphi, and add lines:
   :Include RichView.cnt
   :Index RichView=RichView.hlp
4. delete all *.gid files from HELP directory of Delphi (these files are hidden!)

## Installing Help in Delphi 5,6,7

1. Choose the menu "Help|Customize...". You'll see Borland OpenHelp Window.
2. Click the tab "Contents", then "Add files" button and add "RichView.cnt".
3. Click the tab "Index", then "Add files" button and add "RichView.hlp".
4. Click the tab "Link", then "Add files" button and add "RichView.hlp".
5. Click OpenHelp menu "File|Save project".

## Demo Projects

Demos are in DEMOS\DELPHI subdirectory. Some additional utilities are in DEMOS\ADDINS.

# BDS 2005

## Installing the Components

The components for Delphi 2005 are in D9 directory of the TRIAL folder.

Open RVPkgD9.bdsproj (menu "File|Open"). In the Project Manager window, right-click the package name and choose "Install" in the context menu.

Repeat the steps above with RVDBPkgD9.bdsproj.

Make sure that the path to TRichView units (TRIAL\D9 subdirectory) is included in the Delphi library path (menu "Tools | Options", page "Environment Options | Delphi Options | Library - Win32", "Library Path").

## Help and Demo Projects

Help files (in HLP and CHM formats) are in HELP subdirectory.

Demos are in DEMOS\DELPHI subdirectory. Some additional utilities are in DEMOS\ADDINS.

# BDS 2006 (Delphi and C++Builder), Turbo Delphi 2006

## Installing the Components

The components for Delphi and C++Builder 2006 are in TRIAL\2006 directory.

Open RVPkg2006.bdsproj (menu "File|Open"). In the Project Manager window (usually at the right side of the screen) right-click the package name and choose "Install" in the context menu.

Repeat the steps above with RVDBPkg2006.bdsproj.

Make sure that the path to TRichView units (TRIAL\2006 subdirectory) is included in the Delphi and C++ library path (menu "Tools | Options",
page "Environment Options | Delphi Options | Library - Win32", "Library Path" and
page "Environment Options | C++ Options | Path and Directories", "Search Path")

## Help and Demo Projects

Help files (in HLP and CHM formats) are in HELP subdirectory.

Demos for Delphi are in DEMOS\DELPHI subdirectory.

Demos for C++Builder are in DEMOS\CBUILDER subdirectory. Some additional utilities are in DEMOS\ADDINS.

# RAD Studio 2007, Delphi 2007

## Installing the Components

The components for Delphi 2007 are in TRIAL\D2007 directory.

Open RVPkgD2007.dproj (menu "File|Open"). In the Project Manager window (usually at the right side of the screen) right-click the package name and choose "Install" in the context menu.

Repeat the steps above with RVDBPkg2007.dproj.

Make sure that the path to TRichView units (TRIAL\D2007 subdirectory) is included in the Delphi library path (menu "Tools | Options",
page "Environment Options | Delphi Options | Library - Win32", "Library Path")

## Help and Demo Projects

Help files (in HLP and CHM formats) are in HELP subdirectory.

Demos are in DEMOS\DELPHI subdirectory. Some additional utilities are in DEMOS\ADDINS.

# RAD Studio 2009/2010/XE, Delphi 2009/2010/XE

## Installing the Components

The components for Delphi 2009/2010/XE are in D2009 / D2010 / DXE subdirectory of the TRIAL directory.

Open RVPkgD2009.dproj / RVPkgD2010.dproj / RVPkgDXE.dproj (menu "File|Open"). In the Project Manager window (usually at the right side of the screen) right-click the package name and choose "Install" in the context menu.

Repeat the steps above with RVDBPkg2009.dproj / RVDBPkg2010.dproj / RVDBPkgXE.dproj.

Make sure that the path to TRichView units (D2009 / D2010 / DXE subdirectories of the TRIAL directory) is included in the Delphi library path (menu "Tools | Options",
page "Environment Options | Delphi Options | Library - Win32", "Library Path")

## Help and Demo Projects

Help files (in HLP and CHM formats) are in HELP subdirectory.

Demos are in DEMOS\DELPHIUNICODE subdirectory. Some additional utilities are in DEMOS\ADDINS.

# C++Builder 4,5,6

## Installing the Components

The Components for C++Builder 4/5/6 are in CB4/CB5/CB6 subdirectory of the TRIAL directory.

Open RVPkgCB4.bpk / RVPkgCB5.bpk / RVPkgCB6.bpk (menu "File|Open") and click the "Install" button in the package window.

Repeat the steps above with RVDBPkgCB4.bpk / RVDBPkgCB5.bpk / RVDBPkgCB6.bpk.

Add path to the components (CB4/CB5/CB6) to menu "Tools|Environment Options", "Library" tab, "Library path".

It may be necessary to add paths in each project using the components (menu "Project|Options", "Directories/Conditionals" tab, "Include path" and "Library path")

## Installing Help in C++Builder 4

1. Copy RichView.hlp and RichView.cnt to HELP directory of C++Builder
2. Open Bcb4.cfg in HELP directory of C++Builder, and add line:
   :Link RichView.hlp
3. Open Bcb4.cnt in HELP directory of C++Builder, and add lines:
   :Include RichView.cnt :Index RichView=RichView.hlp
4. delete all *.gid files from HELP directory of C++Builder (these files are hidden!)

## Installing Help in C++Builder 5,6

1. Copy RichView.hlp and RichView.cnt to the HELP directory of C++Builder
2. Run C++Builder.
3. Click menu "Help|Customize...". You'll see Borland OpenHelp Window.
4. Click the tab "Contents", then "Add files" button and add "RichView.cnt".
5. Click the tab "Index", then "Add files" button and add "RichView.hlp".
6. Click the tab "Link", then "Add files" button and add "RichView.hlp".
7. Click OpenHelp menu "File|Save project".

## Demo Projects

Demos are in DEMOS\CBUILDER subdirectory. Some additional utilities are in DEMOS\ADDINS.

# Turbo C++ 2006

## Installing the Components

The components for Turbo C++ 2006 are in TRIAL\TCPP directory.

Open RVPkgTCPP.bdsproj (menu "File|Open"). In the Project Manager window (usually at the right side of the screen), right-click the package name and choose "Install" in the context menu.

Repeat the steps above with RVDBPkgTCPP.bdsproj.

Make sure that the path to TRichView units (TRIAL\TCPP subdirectory) is included in the TurboC++ library path (menu "Tools | Options", page "Environment Options | C++ Options | Path and Directories", "Search Path").

## Help and Demo Projects

Help files (in HLP and CHM formats) are in HELP subdirectory.

Demos are in DEMOS\CBUILDER subdirectory. Some additional utilities are in DEMOS\ADDINS.

# RAD Studio 2007, C++Builder 2007

## Installing the Components

The components for C++Builder 2007 are in TRIAL\CB2007 directory.

Open RVPkgCB2007.cbproj (menu "File|Open"). In the Project Manager window (usually at the right side of the screen) right-click the package name and choose "Install" in the context menu.

Repeat the steps above with RVDBPkgCB2007.cbproj.

Make sure that the path to TRichView units (TRIAL\CB2007 and TRIAL\CB2007\RELEASE subdirectories) is included in the Delphi and C++ library path (menu "Tools | Options",
page "Environment Options | Delphi Options | Library - Win32", "Library Path" and
page "Environment Options | C++ Options | Path and Directories", "Search Path")

## Help and Demo Projects

Help files (in HLP and CHM formats) are in HELP subdirectory.

Demos in DEMOS\CBUILDER subdirectory. Some additional utilities are in DEMOS\ADDINS.

# RAD Studio 2009/2010/XE, C++Builder 2009/2010/XE

## Installing the Components

The components for C++Builder 2009/2010/XE are in CB2009 / CB2010 / CBXE subdirectory of the TRIAL directory.

Open RVPkgCB2009.cbproj / RVPkgCB2010.cbproj / RVPkgCBXE.cbproj (menu "File|Open"). In the Project Manager window (usually at the right side of the screen) right-click the package name and choose "Install" in the context menu*.

Repeat the steps above with RVDBPkgCB2009.cbproj / RVDBPkgCB2010.cbproj / RVDBPkgCBXE.cbproj.

Make sure that the paths to TRichView units:
- TRIAL\CB2009 and TRIAL\CB2009\RELEASE subdirectories for C++Builder 2009,
- TRIAL\CB2010 and TRIAL\CB2010\RELEASE subdirectories for C++Builder 2010,
- TRIAL\CBXE and TRIAL\CBXE\RELEASE subdirectories for C++Builder XE
are included in the Delphi and C++ library path (menu "Tools | Options",
page "Environment Options | Delphi Options | Library - Win32", "Library Path" and
page "Environment Options | C++ Options | Path and Directories", "Search Path")

* Note: "Install" may not work for C++Builder 2010. In this case, install the package using the following steps:
1) right-click the package name and choose "Build" in the context menu;
2) right-click the package name and choose "Install" in the context menu; ignore error messages;
3) right-click the package name and choose "Install" in the context menu again.

## Help and Demo Projects

Help files (in HLP and CHM formats) are in HELP subdirectory.

Demos in DEMOS\CBUILDERUNICODE subdirectory. Some additional utilities are in DEMOS\ADDINS.

# For Users of the Freeware Version (0.5)

You cannot use both the freeware and the shareware version in the same Delphi or C++Builder instance.

If you have the old freeware version, please uninstall it before installing the shareware one (and remove it from directories where Delphi/C++Builder searches for components).

You can try to continue your existing projects with this version of RichView, but read "Compatibility with older versions of RichView" topic of the RichView help before. Please save the original code of these projects (the old freeware version could not be able to load projects saved with the new one, if you decide to return to the old version).