Discussion:
CHM basics
(too old to reply)
ritu
2005-05-11 05:45:55 UTC
Permalink
Hi,

I have some basic queries about CHM format.

When do we need to create CHI, CHQ and CHW files.

As per my understanding CHI contains binary TOC, CHQ conrains serach
data, CHW contains binary indexes.

please correct me if i am wrong.

How i can use HTML Help workshop to create CHI, CHQ and CHW files.

Thanks,
Ritu
Pete Lees [MVP]
2005-05-11 11:03:37 UTC
Permalink
Ritu,
Post by ritu
When do we need to create CHI, CHQ and CHW files.
As per my understanding CHI contains binary TOC, CHQ conrains serach
data, CHW contains binary indexes.
please correct me if i am wrong.
Did you read my response to the message that you posted last week in
microsoft.public.vc.mfc? It's here:

http://groups.google.co.uk/group/microsoft.public.vc.mfc/msg/b63ca12d3b92bd7c?hl=en

CHI = Help index file, created for the MSDN help system.

CHW = The "word wheel" used in the full-text search of a merged help
system.

CHQ = Supposedly, the combined full-text search file produced when .chm
files are merged. (I have never seen an instance of this type of file
and do not believe that you ever need to create it.)

So, you do not need to create .chq and .chw files. The latter are
automatically created on the user's machine when he or she accesses the
index of a merged help system.

You need only create a .chi file if you want to integrate your help
file into older versions of the MSDN Library (that is, the HTML
Help-based versions rather than the newer ones that use Microsoft Help
2.0). To create a .chi file, open the project (.hhp) file in Notepad,
add the following line to the [OPTIONS] section, and then recompile the
help file.

Create CHI file=Yes
--
Pete (Microsoft Help MVP)
Loading...