IWebBrowser2 doesnt seem to be destroyed correctly - remaining connections
- From: petrus3d@xxxxxxx
- Date: 9 Jan 2007 11:32:56 -0800
Hello,
We are currently dealing with a serious problem involving the use of
IWebBrowser2 (wrapper created with VC6 from Internet explorer 6). The
problem happens over Windows XP or Windows XPE.
We have created an application which purpose is to display, one after
another, a set of webpages displayed inside the IWebBrowser2 control.
Each time a new item (webpage) from the list has to be played, we
instanciate a thread which will create the IWebBrowser2 control, then
,when we have to display the next webpage, the thread destroys the
IWebBrowser2 control and a new thred is created which will create the
next IWebBrowser2 control for the next webpage , etc ...
After some time, which can vary from minutes to hours, the process
becomes unable to display some webpages that it could display correctly
before, and we noted that once a webpage cannot be displayed, any
webpage from the same domain won't be able to be displayed anymore.
For ex if the process can't display "www.domain.com/page.html"
it won't be able to display either "www.domain.com/anotherpage.html",
until of course we restart the process.
We bieleve that actually the way the IWebBrowser2 control is destroyed
must be related with the problem, and it seems that somehow the process
reached the maximum of http connexions allowed from one client to one
server (according to the http 1.1 rfc, 2 connections), even if we
explicitely destroyed in the apllication code the previouly used
WebBrowser2 controls.
Yet we tried to kill any http connections using for ex sysinternals
tools or even renew the internet connection itself,but the process
won't be able to display any webpages from one or even several
different domains until the process is restarted. This even if netsat
shows not any http connections remaining.
We'll be glad if anyone has an idea about how to solve this issue.
Thanks in advance.
.
- Prev by Date: How to set BHO Publisher field in IE Manage Add Ons
- Next by Date: Re: System.UnauthorizedAccessException : Access is denied when calling click on an anchor object
- Previous by thread: How to set BHO Publisher field in IE Manage Add Ons
- Next by thread: Re: System.UnauthorizedAccessException : Access is denied when calling click on an anchor object
- Index(es):
Relevant Pages
|