How WinHelp Files Work
quin.fyiReminds 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.
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.
I agree. I doubt people read them anymore these days.
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. (-:
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.
Microsoft started using CHM files at some point back then, which were basically that.
Man this is fun! I have always wondered how those .hlp files work, but never did anything about it!
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.
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.
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.
The book Accelerated C++ by Koenig & Moo came in a winhelp version. It was excellent.
Kinda sad how there used to be a central way that programs would document themselves, but it’s not at all the case today.
Excellent, not Rust specific.