HtmlHelp divide-by-zero exception with IE9

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
We have found a problem with the HtmlHelp API which seems to be the same problem as reported here:
<span> http://social.msdn.microsoft.com/Forums/eu/vcgeneral/thread/07d82283-96c0-4d51-9ed5-519fb3483d28 http://social.msdn.microsoft.com/Forums/eu/vcgeneral/thread/07d82283-96c0-4d51-9ed5-519fb3483d28
<span>The previous thread did not seem to provide a resolution. We have reproduced the following on two 64 bit machines with IE9 installed. One machine was a clean install of Windows 7-x64 on VMware.

<span>#include <windows.h><br/>
#include <Htmlhelp.h><br/>
#include <float.h>
<span>
int main(int argc, char **argv)<br/>
{<br/>
MSG msg ;<br/>
DWORD dwCookie = 0 ;<br/>
_controlfp( _SW_INVALID|_SW_DENORMAL|_SW_UNDERFLOW|_SW_INEXACT, _MCW_EM) ;
HtmlHelp(NULL, NULL, HH_INITIALIZE, (DWORD_PTR)&dwCookie) ;<br/>
HtmlHelp(0, "helpfile.chm", HH_DISPLAY_TOC, 0) ;<br/>
<br/>
while (GetMessage(&msg, NULL, 0, 0))<br/>
{<br/>
TranslateMessage(&msg) ;<br/>
DispatchMessage(&msg) ;<br/>
}
return 0 ;<br/>
}
<span>Compile from the command line for 64 bit build with
<span>cl htmlhelp.cpp /link user32.lib htmlhelp.lib advapi32.lib
<span>This has been stripped down to the raw basics. (Excuse the console mode/GUI mix - it does work).
<span>As in the previous thread, a divide-by-zero exception is raised in d3d10warp.dll when a link is clicked in the help window. IE9 version is 9.0.8112.16421
Does anyone have any information about this problem?


View the full article
 
Back
Top