I can't get my HtmlHelp file to run in my app when I use:
invoke HtmlHelp,hWnd,ADDR szHelp,HH_DISPLAY_TOPIC,NULL

I get error message "HtmlHelp.DLL not found"

Has anybody had a similar problem or know what the fix is?

Btw, I can run the help file with ShellExecuteEx but that prevents me from displaying different pages with different help buttons.

Any suggestions or links (google not much help on this) appreciated I read all the documentation that comes with HtmlHelp Workshop and browsed through MSDN's site but it didn't help

best regards,

czDrillard
Posted on 2004-03-08 21:01:54 by czDrillard
Be sure to use the proper lib file if you are using MASM:

HtmlHelpA PROTO :DWORD,:DWORD,:DWORD,:DWORD

HtmlHelp equ <HtmlHelpA>
includelib "C:\Program Files\HTML Help Workshop\lib\htmlhelp.lib"


There is no such file as HTMLHelp.DLL, it sounds like a problem with the MASM32 auto-lib generator.
Posted on 2004-03-08 21:23:47 by donkey
Thanks Donkey:alright:

I was using the htmlhelp.lib that comes with the SDK. It's 2.68 kb in size. I checked the library that comes with htmlhelp workshop, it's 34.0 kb so I linked to it. All works now. Strange why SDK has a library that's no good?? I even got the latest SDK disk.

best regards,

czDrillard
Posted on 2004-03-08 22:38:14 by czDrillard
The one with the SDK is meant for use with VC++ and it's header files. It is simply an import library and the compiler imports the code from the appropriate lib. The one with the html help workshop is the actual code library and in masm you must import the function directly, there is no header to tell link where to find the code.
Posted on 2004-03-08 22:43:17 by donkey