Re: Call C++ method from Javascript in page
- From: "Nathan" <jakubiak@xxxxxxxxxxxx>
- Date: 24 Oct 2006 14:58:06 -0700
You are correct! That thread was extremely helpful. I was having the
same problem as the guy in that thread, using DISPATCH_PROPERTYPUTREF
instead of DISPATCH_PROPERTYPUT. The explanation in there also helped
me to understand how my object will get accessed. Thanks so much!
On Oct 23, 5:54 pm, "Igor Tandetnik" <itandet...@xxxxxxxx> wrote:
"Nathan" <jakub...@xxxxxxxxxxxx> wrote in messagenews:1161108657.993002.87430@xxxxxxxxxxxxxxxxxxxxxxxxxxx
I am automating Internet Explorer (not hosting it), and I have code
written in C++ that I need to call from JavaScript methods that
execute within the Internet Explorer instance. What is the best way
to do this?See if this helps:
http://groups.google.com/group/microsoft.public.inetsdk.programming.w...
While the thread discusses doing it from a BHO, the same technique
should work from a different process, too. All you need is IWebBrowser2
pointer.
--
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: Call C++ method from Javascript in page
- From: Nathan
- Re: Call C++ method from Javascript in page
- References:
- Call C++ method from Javascript in page
- From: Nathan
- Re: Call C++ method from Javascript in page
- From: Igor Tandetnik
- Call C++ method from Javascript in page
- Prev by Date: Re: Sinking HTMLWindowEvents2
- Next by Date: Re: Scroll Bars and sizes
- Previous by thread: Re: Call C++ method from Javascript in page
- Next by thread: Re: Call C++ method from Javascript in page
- Index(es):
Relevant Pages
|
|