Re: How to query activex controls' interfaces in web pages?
- From: "Hendy" <Hendy@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 11 Sep 2005 20:39:05 -0700
Thank you.
I have found a way to get the activex control interface by using
CDhtmlDialog::GetControlDispatch or CDhtml::GetElementInterface.
HRESULT GetControlDispatch(
LPCTSTR szId,
IDispatch **ppdisp
);
HRESULT GetElementInterface(
LPCTSTR szElementId,
REFIID riid,
void** ppvObj
);
"Igor Tandetnik" wrote:
> "Hendy" <Hendy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:A22367D6-A3F5-4CD1-90C8-9C9734A7E76B@xxxxxxxxxxxxx
> > As a COM object, all interface implements the "QueryInterface"
> > method. Right?
>
> Right.
>
> > Below is a fragment of C++ code of queryinterface and
> > queryservice:
>
> And your question is... ?
>
> I'd venture a guess that the following KB article might be of interest
> to you: KB172763 "INFO: Accessing the Object Model from Within an
> ActiveX Control"
> --
> 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
>
>
>
.
- References:
- How to query activex controls' interfaces in web pages?
- From: Hendy
- Re: How to query activex controls' interfaces in web pages?
- From: Igor Tandetnik
- Re: How to query activex controls' interfaces in web pages?
- From: Hendy
- Re: How to query activex controls' interfaces in web pages?
- From: Igor Tandetnik
- How to query activex controls' interfaces in web pages?
- Prev by Date: Re: How to query activex controls' interfaces in web pages?
- Next by Date: How to invoke popup blocker setting dialog via code?
- Previous by thread: Re: How to query activex controls' interfaces in web pages?
- Next by thread: How to invoke popup blocker setting dialog via code?
- Index(es):