Passing IDispatch-based objects in and out

23 views
Skip to first unread message

Nick Shrayer

unread,
Apr 30, 2013, 5:07:31 AM4/30/13
to ff-acti...@googlegroups.com
Hi Leor,
 
I didn't have a chance to install the plugin yet and test it but just want to ask a very preliminary question. Is plugin expected to correctly handle "Dynamic Objects"? Specifically, I have an ActiveX which is written in .NET and it method takes abstract "object" parameters marshalled as IDispatch. Will I be able to pass arbitrary JavaScript object to such method? Will it be then seen as IDispatch? Could such JavaScript-based object have properties which are functions so I could dynamically invoke them back from ActiveX? I.e. invoke through IDispatch::Invoke without need in ActiveX events?
 
Thanks in advance
Nick

Leeor Aharon

unread,
May 6, 2013, 9:26:33 AM5/6/13
to ff-activex-host
Hi Nick,

The best answer I can give you is that I am not sure.

I can only encourage you to give it a try (would probably be a good idea to have debug logging enabled from the start) and see what happens.
There are two issues that might prove to be a problem: the first is that .NET ActiveX objects might not work properly with this plugin, and the second is the handling of Javascript objects - I don't think it'll be treated as an IDispatch object.

If you do decide to try it, I'd love to hear about the results.

Leeor.


Nick

--
You received this message because you are subscribed to the Google Groups "ff-activex-host" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ff-activex-ho...@googlegroups.com.
To post to this group, send email to ff-acti...@googlegroups.com.
Visit this group at http://groups.google.com/group/ff-activex-host?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages