Automating InternetExplorer & IDocHostUIHandler

From: Sergei Shokhor (s.shokhor-blah-blah_at_f5blah-blah.com)
Date: 07/16/04


Date: Thu, 15 Jul 2004 18:09:01 -0700

Hi All!

I'm trying to create out-of-process instance of InternetExplorer. Everything
is fine except I'm not getting queried for neither IDocHostUIHandler nor
IHttpSecurity.
Actually I'm interested in extending JavaScript via GetExternal.

Using IProfferService from InternetExplorer object I can proffer my
IInternetSecurityManager and some methods like GetZoneMappings or
GetSecurityId are called but ProcessUrlAction never called.

And if I'm creating inproc instance of WebBrowser control everything is as
expected.

I assume this behaviour is by design (security reasons etc) but I can not
find any docs regarding it.

Can somebody post a link to the docs explaining it or tell me what should I
do (implement some interfaces? IE makes QueryInterface on my host for
IExternalConnection, IStdMarshalInfo and IMarshal. Should I implement one of
them?)

Thanks,
Sergei