How WinHelp Files Work (quin.fyi)
26 points by frostbyte7 2 days ago
publlus_enigma 3 hours ago
Help files were one of the best aspects of earlier versions of Windows: having consistent, readily accessible offline help across applications helped to learn software quickly.
In general today I miss having high quality documentation for software.
jjordan 2 hours ago
The contextual help was the killer feature. You could click a question mark that activated your cursor, click on anything in the application, and you would get help right there in the window. Nothing Microsoft has built since then has come close to replicating that fast learning loop. .CHM was a pointless regression.
sam1714 an hour ago
It was around before Microsoft put it in Windows 95. You had the Mac's balloon help, introduced in System 7 (1991).
Sun's OpenWindows, from around the same time, had the giant help key on the Type 4 and above keyboards, you moused over a feature and hit it to get a popup with a magnifying glass graphic.
kalleboo an hour ago
Balloon Help on the classic Mac OS was the best. It would even tell you why some option was disabled.
sedatk an hour ago
The first help system that truly impressed me was CP/M 3.0's. Every command was thoroughly documented, so much that help system had its own floppy. I loved reading about CP/M commands more than running them. It was so beautiful.
pelcg 2 hours ago
I agree. I doubt people read them anymore these days.
gertop 2 hours ago
Accidentally pressing F1 in most Windows bundled application now opens up Edge (even if it's not default) to show you a Microsoft webpage that, half the time, is irrelevant to what you were doing.
So it seems that even if people wanted to read the bundled help, Microsoft got rid of it.
dcrazy 2 hours ago
The official WinHelp authoring tool was… WordPad. Or really, any RTF editor that supported the custom footnote glyphs that the WinHelp compiler turned into a .hlp file. But I would’ve been nervous about using WinWord in case of unwanted additional formatting.
For some reason this baffled me at the time, even though it’s really no different from DocBook to HTML conversion. Maybe it was inexperience, or maybe it was because HTML was its own well-known thing while .hlp was opaque, but I always thought that the footnotes etc. were semantically preserved to the final artifact, and I couldn’t wrap my head around how they became popups and hyperlinks.
Later, Compiled HTML Help arrived which was significantly less mysterious. Maybe because the input and output were still obviously HTML, packaged into a .chm with some metadata. Or maybe I’d just learned more.
asveikau 22 minutes ago
I remember CHM files from their heyday on Windows, but I recently discovered some older ebook files were distributed as CHM. It was a pain to get calibre to convert them to epub, it needed some python library that didn't seem to work on the first go.
beewill an hour ago
I wrote a "shareware" program with Delphi to solve this problem. It pretty much paid for my college.
JdeBP 3 hours ago
The hyperlinked text file doco is based upon Pete Davis's 1993 articles in Schulman's "Undocumented Corner" in Dr Dobb's Journal. (https://dl.acm.org/doi/10.5555/178300.178317)
Pete Davis actually expanded and corrected those articles, and they are chapter 4 of xyr book, co-authored with Mike Wallace, Windows Undocumented File Formats, published by Taylor & Francis in 1997.
Unlike the txt file and the original DDJ articles, the book has diagrams. (-:
jjordan 2 hours ago
Reminds me of way back in 2000 when I was writing my first commercial application in very bad VB6 code, I really wanted to add contextual help to my app, so I purchased a program called dotHLP which provided a nice (if buggy) GUI for creating and editing your own .HLP file. It was great.
Just looked up the dev. It was Gary Handley, the director of Auric Visions Ltd. who first got started all the way back in 1995. They eventually sold to EC Software, the creator of Help & Manual.
markus_zhang 4 hours ago
Man this is fun! I have always wondered how those .hlp files work, but never did anything about it!
enneff 4 hours ago
Kinda sad how there used to be a central way that programs would document themselves, but it’s not at all the case today.
tacostakohashi 3 hours ago
This brings back some memories... there was a bit of a WinHelp scene in the 90s of authoring tools, and people using WinHelp for general reference material rather than specifically software documentation... basically because the WinHelp viewer was included with Windows 3.x and Windows 95.
It gave you the basics of hypertext, with a nice table of contents, indexing, search and even image maps. If anything, it provided most of what you'd want to publish some nice documentation or reference material, but without all the animations, javascript, background sounds, and other ways to make websites terrible.
ryanschneider 2 hours ago
I swear I had a .hlp file that purported to be the “real” Hitchiker’s Guide to the Galaxy at some point but don’t remember where I got it from, presumably some usenet post.
JdeBP 3 hours ago
The same with INF files on OS/2 at the time. The Redbooks were available in INF format on CD-ROM, for example, and it was pretty much one flag bit in a header different to the HLP format used in Presentation Manager. There was a small shareware program that did the rounds that tweaked the flags.
WillAdams 3 hours ago
Yeah, a composition house I worked for did a publication (Baker's _Combat Fleets of the World_) which was also converted into a .hlp file provided on a CD-ROM.
carabiner 3 hours ago
The book Accelerated C++ by Koenig & Moo came in a winhelp version. It was excellent.
Neywiny 3 hours ago
I miss this. Nowadays it would be a zip of a webpage. Which is certainly worthwhile, but these esoteric, get every last byte down types of approaches are nice to see sometimes.
jasonjayr 3 hours ago
Microsoft started using CHM files at some point back then, which were basically that.
fithisux 2 days ago
Excellent, not Rust specific.