Sponsored Links
-->

Saturday, October 13, 2018

How to Create a CHM File with a Help Authoring Tool
src: www.create-chm.com

Microsoft Compiled HTML Help is a Microsoft proprietary online help format, consisting of a collection of HTML pages, an index and other navigation tools. The files are compressed and deployed in a binary format with the extension .CHM, for Compiled HTML. The format is often used for software documentation.

It was introduced as the successor to Microsoft WinHelp with the release of Windows 98 and is still supported in Windows 7. Although the format was designed by Microsoft, it has been successfully reverse-engineered and is now supported in many document viewer applications.


Video Microsoft Compiled HTML Help



History

Microsoft has announced that they do not intend to add any new features to HTML Help.


Maps Microsoft Compiled HTML Help



File format

Help is delivered as a binary file with the .chm extension. It contains a set of HTML files, a hyperlinked table of contents, and an index file. The file format has been reverse-engineered and documentation of it is freely available.

The file starts with bytes "ITSF" (in ASCII), for "Info-Tech Storage Format".

CHM files support the following features:

  • Data compression (with LZX compression)
  • Built-in search engine
  • Ability to merge multiple .chm help files
  • Extended character support, although it does not fully support Unicode.

Microsoft HTML Help SDK - Download
src: images.sftcdn.net


Use in Windows applications

The Microsoft Reader's .lit file format is a modification of the HTML Help CHM format. CHM files are sometimes used for e-books.

Sumatra PDF supports viewing CHM documents since version 1.9.

Various applications, such as HTML Help Workshop and 7-Zip can decompile CHM files. The hh.exe utility on Windows and the extract_chmLib utility (a component of chmlib) on Linux can also decompile CHM files.

Microsoft's HTML Help Workshop and Compiler generate CHM files by instructions stored in a HTML Help project. The file name of such a project has the extension .HHP and the file is just a text with the INI file format.

The Free Pascal project has a compiler (chmcmd) that can create CHM files in a multiplatform way.


chm file format - Heart.impulsar.co
src: i.ytimg.com


Use in non-Windows applications

Read support:

  • GTK: GnoCHM on SourceForge.net, CHMsee, chmviewkit
  • Qt: Okular, kchmviewer, KCHM on SourceForge.net
  • Java: CHMPane on SourceForge.net
  • iOS: CHMate Neue, iChm, ChmPlus, ReadCHM
  • Android: KingReader, Chm Reader, iReader
  • Mac OS X: iChm, ChmPlus, CHMox, ArCHMock, CHM to EPUB, Clearview Reader
  • Other / multiple: xCHM, arCHMage on SourceForge.net, DisplayCHM, ChmFox Firefox addon, CHM Reader Firefox addon, FBReader
  • Amiga: libmspack on Aminet

Read/write support:

  • Lazarus (IDE)/Free Pascal (for a doxygen like tool, a separate commandline compiler in 2.6.0+, and a simple viewer in Lazarus)

Build your chm help with vfp & HTML worshop - Visual Foxpro codes
src: img.over-blog-kiwi.com


See also

  • Windows Help
  • Microsoft Help 2
  • Comparison of documentation generators

How to create CHM file with WordPad - YouTube
src: i.ytimg.com


References


Importing GPO'S in Active Directory - Servers and NAS - Linus Tech ...
src: linustechtips.com


External links

  • HTML Help Web Page on MSDN
  • Microsoft Help 2 Reference (part of Visual Studio SDK for VS7.1 and VS8.0)
  • History of HTML Help
  • Unofficial (Preliminary) HTML Help Specification

Source of article : Wikipedia