Written by: Super User
Category: Miscellaneous Articles

...Without the OpenHelp Utility (oh.exe)

If you are using a Personal or Standard edition of Delphi you will find that you do not have the OpenHelp utility which simplifies the integration of third party component help files into the main Delphi help. The following details how to manually replicate the process. I'll use the JEDI VCL help as an example.

 

STEP 1 - CREATE THE "TABLE OF CONTENTS FILE(S)" (*.toc)

STEP 2 - CREATE THE OHContents FILE (*.ohc)

Lists the files that will appear in the master table of contents.

STEP 3 - CREATE THE OHIndex FILE (*.ohi)

Lists the files that will be available through in the index.

STEP 4 - CREATE THE OHLinks FILE (*.ohl)

Lists the files in the context-sensitive Help search range that will be available through pressing F1

STEP 5 - ADD THE FILES TO THE MASTER HELP FILE

:INCLUDE JVCL.ohc
:INCLUDE JVCL.ohi
:INCLUDE JVCL.ohl

If you fail to get context-sensitive(F1) help for the components it seems you should repeat step 5 with the del*VCL.CNT file.

Watch if you use Notepad it'll probably add .txt after any unregistered file extension you choose to save with.

Note : It is possible to miss out the creation of the *.oh* files and add the various :INCLUDE, :LINK & :INDEX statements directly to the Delphi*.CNT file.
However this method is tidier and (AFAICS) compatible with current Delphi practice.

If you find any mistakes in the above or know a better way. This email address is being protected from spambots. You need JavaScript enabled to view it.