Rh2022 - on startup of Microsoft HTML help, get "can't reach this page Make sure the web ..." error
I converted classic projects from RH9 to Rh2022, output to run under Windows 10.
When help is started via a call to HtmlHelp that looks like the one below, I get the error as shown in the attached picture "Help not working.png":
hwndHelp = HtmlHelp (hwndParent, szclHomePath + szclURL + _T(">Main"), HH_DISPLAY_TOPIC, NULL);
where
szclHomePath is c:\cromos 3.0\toolset\Help\C2000Help.chm::/redirect.xhtm#
szclURL is C2000Help.chm::/C2000_Help_introduction.htm
From a command line, everything is fine if I use this command:
hh.exe ms-its:c:\cromos 3.0\toolset\help\C2000Help.chm::/C2000_help_introduction.htm#Retrieve
From this, I deduce that the problem is something to do with redirect.xhtm.
When I compare the generated chm file from RH9 with the generated file from RH2022, I see that redirect.xhtm is not in the RH2022 file (using BeyondCompare).
The contents of the redirect file are shown in the attached picture "contents of redirect file.png".
Does anyone have any idea please of how to get the call to htmlhelp work in the way it did in RH9 ?


