Re: IWebBrowser2 identity crisis
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Mon, 8 Dec 2008 14:24:01 -0500
Ben Schulz <yaXay@xxxxxxx> wrote:
I'm using Igor's method of monitoring frame states by listening for
BeforeNavigate2, NavigateComplete2 and DocumentComplete. However, when
I attach to a running IE instance (via IShellWindows) I have to
initialize the frame model by traversing the frames. And therein lies
the problem:
I'm using jSegue to use MSCOM from Java and I'm restricted to
IDispatch and IUnknown. So I can't use the IServiceProvider to get
IWebBrowser for a frame.
Can't you write a small helper object in C++, with one method that takes
IDispatch of the frame and returns IDispatch of the corresponding
IWebBrowser2?
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
.
- Follow-Ups:
- Re: IWebBrowser2 identity crisis
- From: Ben Schulz
- Re: IWebBrowser2 identity crisis
- References:
- IWebBrowser2 identity crisis
- From: Ben Schulz
- IWebBrowser2 identity crisis
- Prev by Date: IWebBrowser2 identity crisis
- Next by Date: Re: IWebBrowser2 identity crisis
- Previous by thread: IWebBrowser2 identity crisis
- Next by thread: Re: IWebBrowser2 identity crisis
- Index(es):