I put the following code in a document named TestLib.txt and placed it in the English folder under the DocMaker folder.
Code: Select all
; Source file for the test library
@Library TestLib
@Overview
This is a file to try out DocMaker
@OS Windows
@CommandList
@SupportedOS Windows, AmigaOS, Linux
; -------------------------------------------------------------------------------
@Function IsMouseInGadget(hGadget)
@Description
Determines whether the cursor is in a gadget
@Parameter
hGadget - the Window's handle of the gadget to monitor
@ReturnValue
Returns #True if the mouse is in the gadget
@LineBreak
Returns #False if the mouse is not in the gadget
@SupportedOS Windows, AmigaOS, Linux
During the compilation stage I see an error message:
The output folder contains another folder, testlib, that only contains two files: index.html and ismouseingadget.html.HHC5003: Compilation failed while compiling Reference\reference.html
The file reference.html is not created.
When I open the chm file it shows the text "Can't reach this page". However when I click on the root folder (TestLib) it correctly displays the details for the overview. Also I can expand the help file to get the help text for the IsMouseInGadget().
On examining the chm file with the program FarHelp I found that the Home Page file is set to Reference/reference.html and the Default Topic File is also set to Reference/reference.html
I'm using DocMaker to produce the chm file as I want to open the appropriate help information when I put the cursor on IsMouseInGadget in the PB IDE and click F1.
How can I resolve this problem?