--- ---
Warning: this tip is obsolete. It applies only to Delphi 3 through to Delphi 7 which used the WinHelp system. WinHelp is obsolete and will not run on Windows 10.
Despite what it says in Delphi's documentation, to add component help simply follow these instructions.
Add the help file's location to
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Help
To add
C:\Program Files\Borland\Delphi4\Help\MyHelp.hlp
to the registry insert a value named MyHelp.hlp, with the above path as the value.
Open
C:\Program Files\Borland\Delphi4\Help\delphi4.cnt
and add the following entry to the end of the file's index section:
:Index My Help Title=MyHelp.hlp
Open
C:\Program Files\Borland\Delphi4\Help\delphi4.cfg
Add the following line to the end of the file:
:Link MyHelp.hlp
Then add
:Include Delphi4.cfg
to your contents file (MyHelp.cnt).