Webbrowser control and multithreading.
-
Hello, I'm wondering if anybody managed to use the webbrowser control in a multithreaded application. I would like to have several browsers runnning in parrallel in the same program, but when I create several webbrowser controls and call the navigate() function of each of them to load different sites, it seems that if one of them is long or somewhat stuck it affects all the others. If I increase the number of webbrowser I get even more troubles. I'm doing my tests using C#. Has anybody tried this kind of solution ? Any experience will be welcome. Thanks, R. LOPES Just programmer.
-
Hello, I'm wondering if anybody managed to use the webbrowser control in a multithreaded application. I would like to have several browsers runnning in parrallel in the same program, but when I create several webbrowser controls and call the navigate() function of each of them to load different sites, it seems that if one of them is long or somewhat stuck it affects all the others. If I increase the number of webbrowser I get even more troubles. I'm doing my tests using C#. Has anybody tried this kind of solution ? Any experience will be welcome. Thanks, R. LOPES Just programmer.
I believe that's because all web browser control instances are hosted by a unique ole control site. I would try to write my own. Derive the AxHost class. (google!)
-
I believe that's because all web browser control instances are hosted by a unique ole control site. I would try to write my own. Derive the AxHost class. (google!)