Help for newest version of TEXTUTILS plugin

May 29, 2008
533
3
Groton, CT
#1
Attempting to invoke help with
Code:
textutilshelp
or with (e.g.)
Code:
help replacement
or by typing an item name and hitting F1 results in
an error box
Code:
Web Browser                                                                                          ×
    Unable to download 
Unable to open this Internet site.  The requested site is either
unavailable or cannot be found.  Please try again later.
OK
Invoking the help by "running" the TextUtils.chm file works correctly.

Any clue?
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
3,617
46
Albuquerque, NM
prospero.unm.edu
#7
Okay, I've managed to reproduce this issue.

It seems that on some versions of Windows, updating Internet Explorer past a certain point breaks the documented HtmlHelp() API. Not sure why this happens on some systems and not on others; it might be an x64-only issue. I assume you're seeing the same problem with some of my other plugins which also include a .CHM doc file?

I've put up a new build of TextUtils which launches HH.EXE directly, instead of calling HtmlHelp() as sweet reason would suggest. I'm guessing that Rex is doing the same thing nowadays to avoid this issue ...?
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
3,617
46
Albuquerque, NM
prospero.unm.edu
#11
Yes, I had to do that last year. Nobody believed me at the time ... :-)
I see that issuing multiple HELP commands creates multiple instances of HH.EXE. Ick! Thanks, Microsoft.

So I'm hanging on to the process handle returned by CreateProcess(), so I can close it the next time I launch help. It looks kind of like a single instance, if you're not paying close attention.