Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Thu, 20 Mar 2008 07:16:31 -0700 (PDT),    group: microsoft.public.inetsdk.programming.webbrowser_ctl        back       


Why IE process stay in the memory after I close the window?   
After I installed my BHO tool bar I couldn't close IE completely. The
process will stay in the memory even after I close the window. How can
I debug this? Thanks.
date: Thu, 20 Mar 2008 07:16:31 -0700 (PDT)   author:   myzmlm

Re: Why IE process stay in the memory after I close the window?   
myzmlm  wrote:
> After I installed my BHO tool bar I couldn't close IE completely. The
> process will stay in the memory even after I close the window.

When SetSite(NULL) is called on your implementation of IObjectWithSite, 
you must release any interface pointers you might be holding (such as 
IWebBrowser2 pointer to the hosting browser).
-- 
With best wishes,
    Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not 
necessarily a good idea. It is hard to be sure where they are going to 
land, and it could be dangerous sitting under them as they fly 
overhead. -- RFC 1925
date: Thu, 20 Mar 2008 13:13:41 -0400   author:   Igor Tandetnik

Re: Why IE process stay in the memory after I close the window?   
On Mar 20, 1:13 pm, "Igor Tandetnik"  wrote:
> myzmlm  wrote:
> > After I installed my BHO tool bar I couldn't close IE completely. The
> > process will stay in the memory even after I close the window.
>
> When SetSite(NULL) is called on your implementation of IObjectWithSite,
> you must release any interface pointers you might be holding (such as
> IWebBrowser2 pointer to the hosting browser).
> --
> With best wishes,
>     Igor Tandetnik
>
> With sufficient thrust, pigs fly just fine. However, this is not
> necessarily a good idea. It is hard to be sure where they are going to
> land, and it could be dangerous sitting under them as they fly
> overhead. -- RFC 1925

Thanks for your advise Igor. I realize I have to add one function at
one time for bug tracking purpose. :)
date: Thu, 20 Mar 2008 11:35:39 -0700 (PDT)   author:   myzmlm

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us