On Mon, 23 Feb 2009, Mark Trostler wrote:
> Bummer but thanks for the info. Does this mean in ANY Win32 language
> you cannot interact with a currently running IE instance via OLE?

You can interact with it if you have an interface pointer to it. The
problem is that you cannot get a pointer to an IE instance except at the
time of creation. This is true for all languages (as far as the ROT
mechanism is concerned; I don't know if IE provides a private mechanism
to do this).

> I can manipulate IE via Win32::Gui/Test - but even VB or C# can't
> manipulate a currently running IE via OLE?? thanks!! Mark

One mechanism would be to create and install a Browser Helper Object
(BHO). They get loaded into each IE instance. You could then register
your BHOs with the ROT and gain access that way.  You most likely have
to implement your BHO in C++ though.

Cheers,
-Jan

Reply via email to