lazarus/components/chmhelp
vincents 36b74cb321 lhelp: fixed compilation on windows
* removed references to obsolete .lrs file, probably used previously for icon.
* update lhelp.rc to current generated version and added external manifest file.

git-svn-id: trunk@19786 -
2009-05-03 18:02:26 +00:00
..
democontrol lhelp: fixed compilation of democontrol example 2008-10-24 12:48:11 +00:00
lhelp lhelp: fixed compilation on windows 2009-05-03 18:02:26 +00:00
packages lcl: split TAsyncProcess and TProcessUtf8 between 2 units. This is needed to remove widgetset dependency from svn2revision.inc 2009-04-10 15:33:23 +00:00
README.txt TurboPowerIPro: can now read simple css files from Andrew Haines 2007-12-19 21:09:19 +00:00

lhelp is a program written entirely using FreePascal and the LCL to read .chm help files.

This is a basic HOWTO for integrating lhelp into the Lazarus IDE.


1 ) Start Lazarus

2 ) Install Packages:

    In the Components Menu choose "Open Package File"
    Browse to the lazarus/components/chmhelp/packages/help/ directory and 
    open "lhelpcontrolpkg.lpk"

    You do not need to directly install this package.

    With the lhelpcontrolpkg package still open, in the Components Menu choose 
   "Open Package File". Browse to the lazarus/components/chmhelp/packages/idehelp 
    directory and open chmhelppkg.lpk

3 ) Now click "Install" this will automatically install the first package we opened.

4 ) Restart Lazarus(if it didn't automatically)

5 ) Open the lhelp project in lazarus/components/chmhelp/lhelp/lhelp.lpi
    Compile lhelp.

5 ) Configure the paths for the lhelp:

    From the Help menu choose "Configure Help"
    Change to the "Viewers" tab and select "CHM Help Viewer"

    HelpEXE:
    For the "HelpEXE" entry browse to the lazarus/components/chmhelp/lhelp/ folder 
    and select the lhelp executable.

    HelpFilesPath:
    This is the directory that contains the lcl.chm fcl.chm and rtl.chm files.

    HelpLabel Name and Tag do not need to be altered.
    The HelpLabel is the name of the named pipe that lazarus will use to comunicate with lhelp.

6 ) Configure the DataBases

    Choose the DataBases tab.

    RTLUnits:
    this should be "rtl.chm://"
    FCLUnits:
    this should be "fcl.chm://"
    LCLUnits:
    this should be "lcl.chm://"

    NOTE if you have only a single lcl-fcl-rtl.chm file then then paths become:
    "lcl-fcl-rtl.chm://rtl/"
    "lcl-fcl-rtl.chm://fcl/"
    "lcl-fcl-rtl.chm://lcl/"

Now close this window and check out the integrated help :)

Enjoy