Compiler messages

When you compile a HTML Help project, the Help compiler notifies you if there are basic problems in the project files by creating compiler messages. You can view these messages to see whether any problems, such as missing links or graphics, exist in your help files.

Viewing compiler messages

Help projects created using Help Generator have the help project option Error log file=logcompile.txt. So, after compilation, you can and should look at that file which can be found in the help project folder. An alternative is to compile from HTML Help Workshop which displays the messages in it's main window.

Note
If you compile your Help Project from HTML Help Workshop, messages are immediately displayed in the message pane.

Categories of compiler messages

Note

A condition you should be aware of, which will probably not cause serious problems when you open your help file. Note error messages have a number range from 1000 through 2999. For example, a broken link causes this type of message: The file "c:\htmlhelp\httempex.htm" has a link to a non-existent file: "tmplstep.htm".

Warning

A condition that results in a defective help file. Warning error messages have a number range from 3000 through 4999. For example, an invalid DLL causes this type of message: HHW4000: Warning: Unable to initialize for full-text search. The .dll may not be installed or is invalid.

Error

A condition that prevents the help file from being built. Error messages have a number range from 5000 through 6999.

Internal Error

An error caused by the the Help Compiler. Internal Error messages have a number greater than 7000.

Note
the Help Editor can display up to 1 MB in Windows 2000 and higher, but there is no practical limit to how many compiler messages can be saved to a file
Compile HTML Help Project