Why IE runs in explorer.exe process sometimes?!
-
Hi all, I've written a COM plugin to IE which prior to loading itself checks the calling process' name. If it happens to be explorer.exe it should quit and not load. If it is iexplore.exe then things are ok... Now, I've noticed that even if IE runs it can actually be run as a subprocess to explorer.exe. When this is the case, my COM plugin will not load when I want it to. To my question: Under what circumstances is IE running as/under explorer.exe? /Tommy
-
Hi all, I've written a COM plugin to IE which prior to loading itself checks the calling process' name. If it happens to be explorer.exe it should quit and not load. If it is iexplore.exe then things are ok... Now, I've noticed that even if IE runs it can actually be run as a subprocess to explorer.exe. When this is the case, my COM plugin will not load when I want it to. To my question: Under what circumstances is IE running as/under explorer.exe? /Tommy
"IE", as you call it, is not really anything but a client. Namely, I refer to iexplore.exe, which is a COM client just like explorer.exe. WebBrowser2 is the automation server that can be hosted by practically any client. This is what has driven Windows since Windows 95 w/ IE 4.0 and ActiveDesktop - it's completely integrated (which the gov't failed to understand). So "Internet Explorer" is merely a container application that hosts the WebBrowser2 control, advises its connection sinks, and provides UI services like Favorites and toolbars that can interact with the WebBrowser2 control. "Well, I wouldn't say I've been missing it, Bob." - Peter Gibbons