Windows Help files (extension .hlp) are help files intented for use with Microsoft Windows 3.1, 95, 98 and NT. A somewhat limited Version of the winhelp viewer is also available for the Apple Macintosh. The file format of those files has never been officially documented by Microsoft, however some programmers found out about it. Thus commercial software is available to convert Windows help files back to source code, to printable handbooks or to HTML.
Running as CGI program on the web Server (Usually Apache), winhelpcgi performs on-the fly
conversion of help topics into HTML pages
readable from any web browser such as Lynx,
Mozilla or Netscape. Embedded
bitmap
and metafile images are converted into PNG type images visible
in the web
browser.
WinHelpCGI is able to
http://download.sourceforge.net/wvware/
(recommended, else Metafiles won't display)winhelpcgi is available in source code and should compile for most unix-type operating systems. We have provided binaries created by cross-compilation for download for various operating systems:
| OS | Binary-download available |
|---|---|
| GNU/Linux on i386 CPU with glibc 2.2 or newer | 1.0rc2 |
| GNU/Linux on powerpc CPU with glibc 2.2 or newer | 1.0rc1 |
| GNU/Linux on alpha CPU with glibc 2.2 or newer | no |
| Solaris on Sparc CPU | 0.92 |
| Solaris on Intel CPU | 0.92 |
Novell Netware 6 on
Intel/AMD CPU with Apache 2
server |
0.92 |
| MacOS X (Darwin) | 1.0rc1 |
| OpenBSD Port |
http://www.freshports.org/www/winhelpcgi/ |
A fully preconfigured
debian
archive is available for download and has been tested with Debian Linux
3.0 (woody). It also includes two example .hlp files from our Windows
product lines. The package automatically creates a menu item in the
Debian menu. You might also use our apt-get source for really simple
automatics installation.
apt-get install apache mozilla
dpkg -i libwmf*.deb winhelpcgi*.deb
mozilla http://localhost/cgi-bin/winhelpcgi.cgi
Preconfigured RPM archives for SuSE versions 8.2 and 9.0 and
available for download.
The packages require libwmf
and apache to be
installed. You can do the following:
yast2 --install apache libwmf
rpm -i winhelpcgi*.rpm
/etc/init.d/apache start
konqueror http://localhost/cgi-bin/winhelpcgi.cgi
tar xzf winhelpcgi*.tar.gzThis will result in binary winhelp/winhelpcgi.cgi and po/de.gmo being built from the source code. You have to place those binaries on your web server where they can executed as CGI-Programs. For example is /usr/lib/cgi-bin is prepared for CGI execution, you might use:
cd winhelpcgi-*
./configure
make
TARGET=/usr/lib/cgi-bin
mkdir -p $TARGET/locale/de/LC_MESSAGES
cp winhelpcgi/winhelpcgi.cgi $TARGET
cp po/de.gmo $TARGET/locale/de/LC_MESSAGES/winhelpcgi.mo
TARGET=/usr/lib/cgi-bin
mkdir $TARGET/helpfiles
cp /somewhere/myfile.hlp $TARGET/helpfiles
winhelpcgi is free software licensed under the GNU public license version 2. We'd be happy if noone would use this source code to produce any Windows software.
to a set of HTML
files on a Windows machine and read the HTML version on linux later.Redistribution of this document and the winhelpcgi is permitted under the terms of the GNU GPL (General Public License).
Latest News