This is an INF version of the Win32 HLP file found on Borland site... it
does not contain a complete index.   Use at your own discretion, but get
the one from Borland site before using this file.

ftp://ftp.borland.com/pub/delphi/techpubs/delphi2/win32.zip

To convert your own HLP file to INF, follow these instructions.  Those
instructions were followed to generated this win32.inf file.

Get these:

http://www.herdsoft.com/ftp/downloads.html#hlp2rtf
http://ourworld.compuserve.com/homepages/mek/vyper.htm
and makecnt.cmd attached
IPFC, of course

First, I found that the win32.hlp file provided with Borland 5.2 and
Borland C++ Builder is corrupted.  HLP2RTF will crash on it (as well as
winhlp32 on the affected section for that matter), so you will need a
good one.  The one on Borland site (an older version) is fine though.

HLP2RTF might run in Win-OS/2 with Win32s 1.25... sometimes it does
here.  The unreg Win32 version of HLP2RTF will not generate a complete
index, but the free Linux version will.  With HLP2RTF, decompile the
HLP file into a recompilable HPJ.  It is recommended to use the "file
split" option.

The generated RTFs will contain different IDs from the ones in
win32.cnt.  I have made a script to scan the RTF file and merge the
right IDs with the titles found in Win32.cnt.  check the REXX script
for the filenames you want to use.  check the warnings, some sections
with non alpha-numeric titles are different in the RTF files than in
the CNT file.  Rename the CNT file you want to use to the same base
filename as the HPJ file plus the .CNT extention.  This file will be
used by vyx.

VyperHelp 1.04 vyx.exe program can then convert the generated HPJ and
CNT files into an IPF file.  Version 1.03 has a major memory leak,
don't use it.  All the bitmap and graphic tags used in the Win32
reference are unsupported by Vyx, so no graphics are left in the IPF.
There is a bug in vyx where it tries to hide :h1. sections.  You have
to manually edit the IPF file (EPM seems to load 50megs file just fine)
and change all the hidden :h1. to :h2. or the content will be a mess.
tip: all :h1 tags after the ones from the content are the "hidden" ones
which need to be replaced.  There is another bug in the unreg version
of vyx where non-functional + will appear in the viewer.  These are due
to unnecessary bogus sections created by vyx.

Compile the IPF file with IPFC 4.0.  3.0 will crash (file too big I
suppose).  For some reason, at line ~150000 (might vary with different
win32 reference), IPFC starts complaining about "too many fonts".  The
text is still generated, but the font defaults to non-proportional
system font.

- Samuel Audet <guardia@cam.org>
