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: Fri, 14 Mar 2008 09:06:20 -0600,    group: microsoft.public.inetsdk.programming.webbrowser_ctl        back       


Modal form in BHO and Threading   
Hello,

We are developing a BHO which contains a modal windows form that appears to
be causing some difficulty.  It would seem that if a form is shown modally,
something happens to the threading context such that any threads created
*after the modal form has closed* function erratically.  Everything works
fine if the form is shown non-modally.  Does anyone know what may be
happening?  Is there a threading context mismatch between the COM apartment
and a modal form which could be corrupting the app?

This is a real head-scratcher and anyone who has any knowledge they would be
willing to share would be very much appreciated.

Thanks,
Dan


P.S. - The MessageBox does not appear to cause any of these problems, and it 
is being shown modally, so there must be a way to do this.
date: Fri, 14 Mar 2008 09:06:20 -0600   author:   Daniel McCann

Google
 
Web ureader.com


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