How do I add HTML help, or any paged help, to a C++ MFC application.

technoway 241 Reputation points
2022-04-08T08:06:29.073+00:00

I wanted to add help to my MFC application. I found this codeproject example. It states to use HTML Help Workshop.

https://www.codeproject.com/Articles/13411/Creating-and-Using-HTML-Help-in-MFC-Applications

----------------------------------------

I found this link to a Microsoft page for HTML Help Workshop, howver, the download links lead to pages with the text, "404 - File or directory not found."

https://learn.microsoft.com/en-us/previous-versions/windows/desktop/htmlhelp/microsoft-html-help-downloads

----------------------------------------

Then I found this article stating the links are bad. It was not helpful.

The article states all downloads are now available at the Microsoft.com download center.

----------------------------------------

I went to the "Microsoft download center" at:

https://www.microsoft.com/en-us/download

and, clicked on "Developer Tools"

The Developer Tools page is at:

https://www.microsoft.com/en-us/download/developer-tools.aspx

That has several downloads, but I can't tell if any have the tools I need to add help to my MFC application.

----------------------------------------

This is a small fraction of the searching I've done and the tools I've looked at.

I found this page to be helpful. It made me believe I want to use "HTMLHelp Version 1".

http://simplesamples.info/SimpleSamples/MFC/HTMLHelp.aspx

I just want to be able to launch a page that users can read to understand the advanced features of the application I've written, and I want the page built into the application. I don't wnat the application to launch a web browser.

I have a copy of htmlhelp.lib installed with the SDK that came with Visual Studio 2022.

P.S. C++ is the only correct tag. I had to supply three tags, however, none of the other tags applied to my project.

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
328 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,633 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,630 questions
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 83,106 Reputation points
    2022-04-08T08:47:42.03+00:00

    The links I had posted in this thread still work : HTMLHelp Workshop - download for CHM compiler installation failed
    (help files must be unlocked in Properties of Explorer)


0 additional answers

Sort by: Most helpful