My program is written in Visual C++ using Visual Studio 2010.
I'm invoking the help window using
HtmlHelp(hwndOwner, sTopicPath.GetBuffer(), HH_DISPLAY_TOPIC, (DWORD)0);
It works fine. I can invoke the help window displaying any topic or even at an anchor position - great!
But each time HtmlHelp is called, the debugging console outputs several javascript exceptions, e.g.:
and the Call Stack for one of them is:First-chance exception at 0x764cc42d in MyProg.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x2191d36c..
First-chance exception at 0x764cc42d in MyProg.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x2191c6d4..
First-chance exception at 0x764cc42d in MyProg.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x2191c6c4..
First-chance exception at 0x764cc42d in MyProg.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x2191cb2c..
First-chance exception at 0x764cc42d in MyProg.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x2191c774..
First-chance exception at 0x764cc42d in MyProg.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x2191d65c..
First-chance exception at 0x764cc42d in MyProg.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x2191a164..
Does anyone have any idea what might be causing this?KernelBase.dll!764cc42d()
[Frames below may be incorrect and/or missing, no symbols loaded for KernelBase.dll]
KernelBase.dll!764cc42d()
jscript9.dll!54445f66()
jscript9.dll!54445e9c()
jscript9.dll!54444788()
jscript9.dll!544ccfd3()
jscript9.dll!545a9b76()
jscript9.dll!544a54d2()
jscript9.dll!544a549e()
jscript9.dll!54402b6c()
jscript9.dll!543282cd()
jscript9.dll!543bde4c()
jscript9.dll!544a54f9()
jscript9.dll!544a54d2()
jscript9.dll!544a549e()
jscript9.dll!54390b64()
jscript9.dll!543c5b0e()
jscript9.dll!543a1cd5()
jscript9.dll!5432cecb()
jscript9.dll!54321ce9()
jscript9.dll!54321cb8()
jscript9.dll!5432d0ef()
jscript9.dll!5432c60a()
msvcrt.dll!759198cd()
mshtml.dll!54c53424()
mshtml.dll!54abd89a()
mshtml.dll!54f70539()
mshtml.dll!54f6e0dc()
mshtml.dll!54b5107e()
mshtml.dll!54b594a2()
mshtml.dll!54b59da8()
mshtml.dll!549bd18a()
user32.dll!759f6381()
user32.dll!759e80a9()
user32.dll!759e62fa()
user32.dll!759e6d3a()
user32.dll!759e6ce9()
user32.dll!759e77c4()
user32.dll!759e788a()
hhctrl.ocx!54234717()
hhctrl.ocx!5423bb19()
kernel32.dll!7550336a()
ntdll.dll!77b392b2()
ntdll.dll!77b39285()