schneiju
2009-07-03 15:51:59 UTC
Hello
has anybody seen such a behaviour before:
When I specify a search string (which exists) in the search box of a help
file and I press "list topic" the help process hangs.
In that case I opened the help file programmatically from within my original
SW the help is designed for.
(Initially everything is fine, help is available, contents are listed, index
topics are listed, just search is not working)
I used the following code:
HtmlHelp(GetDesktopWindow(), strHelpDesk, HH_DISPLAY_TOPIC, 0)
Where HTMLHelp translates to
Declare Function HtmlHelp Lib "hhctrl.ocx" Alias "HtmlHelpA" (ByVal
hwndCaller As Long, ByVal pszFile As String, ByVal uCommand As Long, ByVal
dwData As Long) As Long
When I open the same help via a shortcut in the start menu, the search works
perfectly fine!
("C:\WINDOWS\hh.exe" <Path>helpfile.chm)
The code to open the help wasn't changed for years now, and with older
versions of the SW everything was fine.
The help file itself was recompiled using the "same" properties as with the
old versions (at least we aren't aware of any change).
Does someone have an idea what can make searching in an HTML help file
behave so different, depending on how you opened the help?
Thanks
Juergen
has anybody seen such a behaviour before:
When I specify a search string (which exists) in the search box of a help
file and I press "list topic" the help process hangs.
In that case I opened the help file programmatically from within my original
SW the help is designed for.
(Initially everything is fine, help is available, contents are listed, index
topics are listed, just search is not working)
I used the following code:
HtmlHelp(GetDesktopWindow(), strHelpDesk, HH_DISPLAY_TOPIC, 0)
Where HTMLHelp translates to
Declare Function HtmlHelp Lib "hhctrl.ocx" Alias "HtmlHelpA" (ByVal
hwndCaller As Long, ByVal pszFile As String, ByVal uCommand As Long, ByVal
dwData As Long) As Long
When I open the same help via a shortcut in the start menu, the search works
perfectly fine!
("C:\WINDOWS\hh.exe" <Path>helpfile.chm)
The code to open the help wasn't changed for years now, and with older
versions of the SW everything was fine.
The help file itself was recompiled using the "same" properties as with the
old versions (at least we aren't aware of any change).
Does someone have an idea what can make searching in an HTML help file
behave so different, depending on how you opened the help?
Thanks
Juergen