Exceptions within MSHTML using IWebBrowser2 control
- From: "Chris Smith" <chris.smith2020@xxxxxxxxxxxxx>
- Date: Thu, 9 Aug 2007 13:10:51 +0100
Apologies if this is the wrong group for this issue - this is the most relevant managed MSDN newsgroup I could find for MSHTML issues - if you feel I would be better posting somewhere else please tell me.
I'm having problems using the IWebBrowser2 control within my MMC snap-in as a custom OCX control. In general, it works fine, but on XPSP2 with IE7, if the user clicks repeatedly on links in the web control, I get an exception from deep inside the MSHTML component. In every case, the call stack is the same except for the last (illegal) address (the full call stack is shown below).
As there is none of my code anywhere in the call stack, I'm not sure how to go about debugging this one. It looks as if this is a race condition of some kind, as it takes about 1-2 minutes of manic clicking on links in the hosted control to get it to fail, but it is highly repeatable on XP. I have failed to reproduce the problem under Vista.
Thanks in advance,
Chris.
cf8b6c74()mshtml.dll!CElement::Doc() + 0x7
mshtml.dll!CElement::TakeCapture() + 0xe
mshtml.dll!CAnchorElement::OnCaptureMessage() + 0x7b
mshtml.dll!CElementCapture::CallCaptureFunction() + 0x11
mshtml.dll!CDoc::PumpMessage() + 0x986ec
mshtml.dll!CDoc::OnMouseMessage() + 0x16c
mshtml.dll!CDoc::OnWindowMessage() - 0x41cea
mshtml.dll!CServer::WndProc() + 0x4c
user32.dll!_InternalCallWinProc@20() + 0x28
user32.dll!_UserCallWinProcCheckWow@32() + 0xb7
user32.dll!_DispatchMessageWorker@8() + 0xdc
user32.dll!_DispatchMessageW@4() + 0xf
mfc42u.dll!CWinThread::PumpMessage() + 0x3a
mmc.exe!CAMCApp::PumpMessage() + 0x37
mfc42u.dll!CWinThread::Run() + 0x46
mfc42u.dll!AfxWinMain() + 0x68
mmc.exe!_wWinMainCRTStartup() + 0x198
kernel32.dll!_BaseProcessStart@4() + 0x23
.
- Follow-Ups:
- RE: Exceptions within MSHTML using IWebBrowser2 control
- From: "Walter Wang [MSFT]"
- RE: Exceptions within MSHTML using IWebBrowser2 control
- Prev by Date: Re: Catagorizing LSPs
- Next by Date: Re: Differnce in size of TCP and UDP
- Previous by thread: FXSCOMEX problems
- Next by thread: RE: Exceptions within MSHTML using IWebBrowser2 control
- Index(es):
Relevant Pages
|