Re: Call C++ method from Javascript in page



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

.



Relevant Pages

  • Re: Force/Power + CHI
    ... Caught that; again, in our art, we had a different approach to energies; our exercises concentrated on the sensing of directed intent more than the involvement of energy in strikes. ... the average untrained joe can see that chi is real. ... it's simply too generic and has a readily available and much simpler muscular explanation. ... It's an acknowledged technique within Chinese ...
    (rec.martial-arts)
  • Re: Counting knight moves
    ... What diagrams would you suggest to enhance the explanation? ... where is the knight in relation to that square? ... because there's a similar rule in Alexander's Technique, ... evaluated and tried out several knight positions relative to a 3x3 ...
    (rec.games.chess.misc)
  • Re: OO Design induces an existential crisis
    ... then use the appropriate technique to model them. ... I have started to believe that this discussion is not so useless after ... The lack of description together with the lack of explanation makes the ... of TDD together with explanations for why TDD should work. ...
    (comp.object)
  • Re: Paris Masters Draw -- Poor Safin
    ... you'll never understand that is sad in its own right. ... This smacks very much of you wanting to elevate a player you feel an ... with technique. ... Try to give us a "technical" explanation of why Rembrandt's _The Night ...
    (rec.sport.tennis)
  • Re: Match Last Occurrence of two numbers and Return Date
    ... Thank you very much for your very detailed and extremely helpful ... explanation of your formula. ... Sam ... Prev by Date: ...
    (microsoft.public.excel.worksheet.functions)