C++ BUILDER LEDIT VCL INSTALLATION INFORMATION.

This file describes the files included with the Borland C++ 
Builder (BCB) VCL and instructions on how to install the BCB VCL 
component wrapper to the BCB component palatte.

BEFORE INSTALLING THE BCB VCL, YOU NEED TO INSURE YOU HAVE
COMPLETELY UN-INSTALLED ANY OTHER VERSIONS OF THE LEDIT VCL AND
DLL. IF ANY OTHER VERSION IS FOUND ANYWHERE IN YOUR PATH, THE
VCL WILL LIKELY GIVE YOU AN ERROR AND CRASH BCB. IT IS EXTREMELY
IMPORTANT TO MAKE SURE THAT NO OTHER VERSIONS ARE ANYWHERE IN THE
PATH. THIS IS ESPECIALLY IMPORTANT BETWEEN REGISTERED AND SHAREWARE
VERSIONS.

The following files are included with the LEdit BCB VCL.

LEBCB__I.TXT     This file.
LEBCB__U.TXT     Description of changes since Version 1.01
LEBCB.TXT        Documentation text file

LEDLP32.OBJ      BCB VCL.
LEDLP32.HPP      BCB VCL Header File.
LEDLP32A.DFM     BCB VCL Form for About Dialog.
LEDLP32A.OBJ     BCB VCL Compiled Code for About Dialog.
LEDLP32A.HPP     BCB VCL Header File for About Dialog.
LEDLP32R.DCR     BCB VCL Resource File.
LEDLP32R.OBJ     BCB VCL Compiled Registration Procedure.
LEDLP32R.HPP     BCB VCL Header File for Registration Procedure
LEDLP32R.PAS     BCB VCL Source File for Registration Procedure
LEDLD32.OBJ      BCB Data Aware VCL.
LEDLD32.HPP      BCB Data Aware VCL Header File.
LEDLD32R.DCR     BCB Data Aware VCL Resource File.
LEDLD32R.OBJ     BCB Data Aware VCL Compiled Registration Procedure.
LEDLD32R.HPP     BCB Data Aware VCL Header File for Registration Procedure.
LEDLD32R.PAS     BCB Data Aware VCL Source File for Registration Procedure.

LEBCB_1.CPP      BCB Example 1 Files.
LEBCB_1.MAK         Complete editor program.
LEBCB_1.RES
LEBCB_1A.CPP
LEBCB_1A.DFM
LEBCB_1A.H
LEBCB_1B.CPP
LEBCB_1B.DFM
LEBCB_1B.H
LEBCB_1C.CPP
LEBCB_1C.DFM
LEBCB_1C.H
LEBCB_1D.CPP
LEBCB_1D.DFM
LEBCB_1D.H
LEBCB_1E.CPP
LEBCB_1E.DFM
LEBCB_1E.H
LEBCB_1F.CPP
LEBCB_1F.DFM
LEBCB_1F.H
LEBCB_1Z.CPP
LEBCB_1Z.DFM
LEBCB_1Z.H

LEBCB_2.CPP      BCB Example 2 Files.
LEBCB_2.MAK        MDI example.
LEBCB_2.RES
LEBCB_2A.CPP
LEBCB_2A.DFM
LEBCB_2A.H
LEBCB_2B.CPP
LEBCB_2B.DFM
LEBCB_2B.H
LEBCB_2Z.CPP
LEBCB_2Z.DFM
LEBCB_2Z.H

LEBCB_3.CPP      BCB Example 3 Files.
LEBCB_3.MAK        Example demonstrating Text property.
LEBCB_3.RES
LEBCB_3A.CPP
LEBCB_3A.DFM
LEBCB_3A.H
LEBCB_3B.CPP
LEBCB_3B.DFM
LEBCB_3B.H

LEBCB_4.CPP      BCB Example 4 Files.
LEBCB_4.MAK        Example demonstrating background drawing.
LEBCB_4.RES
LEBCB_4A.CPP
LEBCB_4A.DFM
LEBCB_4A.H

LEBCB_5.CPP      BCB Example 5 Files.
LEBCB_5.MAK        Example demonstrating Syntax Highlighting,
LEBCB_5.RES        Find Braces, and Word Click.
LEBCB_5A.CPP
LEBCB_5A.DFM
LEBCB_5A.H
LEBCB_5A.PAS       PAS file used in this example for highlighting.

LEBCB_6.CPP      BCB Example 6 Files.
LEBCB_6.MAK        Example demonstrating getting, adding and 
LEBCB_6.RES          inserting text.
LEBCB_6A.CPP
LEBCB_6A.DFM
LEBCB_6A.H

LEBCB_7.CPP      BCB Example 7 Files.
LEBCB_7.MAK        Example demonstrating HTML Syntax highlighting.
LEBCB_7.RES
LEBCB_7A.CPP
LEBCB_7A.DFM
LEBCB_7A.H


COMPONENT INSTALLATION:

All references to ($BCB) mean the C++ Builder installation directory.

There are some special instructions you need to follow to install 
the LEdit BCB VCL.  

*******************************************************************
******* VERY IMPORTANT INSTRUCTIONS FOLLOW - PLEASE READ **********
*******************************************************************
NOTE: THE FOLLOWING INSTRUCTIONS MUST BE FOLLOWED EXACTLY OR YOU WILL
RECEIVE LINKER ERRORS WHEN INSTALLING THE VCL. THIS IS EXTREMELY
IMPORTANT.

All the BCB VCL files must be placed into a single directory.  Then 
the LEDIT32B.LIB file must be copied from the LEdit directory into 
($BCB)\LIB directory.  Once this is done, you need to edit the 
CMPLIB32.OPT file in the ($BCB)\BIN directory.  This file is used when 
the component library is built.  In this file, there is a line as 
follows:

ALLLIB = $(LIBFILES) vcl.lib import32.lib cp32mt.lib

You need to add 'ledit32b.lib' to this line as follows:

ALLLIB = $(LIBFILES) vcl.lib import32.lib cp32mt.lib ledit32b.lib

Then save this file.  Once this is done, you can continue installing 
the component into the BCB VCL by following the instructions in the 
BCB manual.

You also need to add this .LIB file to your project .MAK files in 
order to get your projects to link successfully. If you do not follow
this procedure, you will receive linker errors during the link. To do 
this, you just select Project Makefile from the View menu. This will 
open up the .MAK file for your project. Then you just add the 
LEDIT32B.LIB file as specified above.


The following are the files that need to be installed:

LEDLP32R.OBJ    BCB normal LEdit component. 
LEDLD32R.OBJ    BCB data aware component

All of the following files must be placed into the same directory:

BCB
--------
  LEDLP32.OBJ
  LEDLP32.HPP
  LEDLP32A.DFM
  LEDLP32A.OBJ
  LEDLP32A.HPP
  LEDLP32R.DCR
  LEDLP32R.OBJ
  LEDLP32R.HPP
  LEDLD32.OBJ           If using the data aware component
  LEDLD32.HPP           If using the data aware component
  LEDLD32R.DCR          If using the data aware component
  LEDLD32R.OBJ          If using the data aware component
  LEDLD32R.HPP          If using the data aware component


The LEDIT32.DLL file must be either in this same directory, the 
($BCB)\BIN directory or the WINDOWS or WINDOWS\SYSTEM directory. It
is best to place this file to be in the ($BCB)\BIN directory to 
prevent problems installing the component into the component palatte.


Once this is complete, the component is ready to be used.
