[IronPython] Ironpython & COM vs Jscript.Net & COM
Shri Borde
Shri.Borde at microsoft.com
Fri Jun 19 00:35:27 CEST 2009
IronPython 2.0 supports dynamic COM servers. See http://blogs.msdn.com/shrib/archive/2008/07/30/idispatch-support-on-in-ironpython-beta-4.aspx
-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Michel Claveau
Sent: Wednesday, June 17, 2009 7:22 AM
To: users at lists.ironpython.com
Subject: [IronPython] Ironpython & COM vs Jscript.Net & COM
Hi!
IronPython has poor support of COM techno. In particular, IP can not use
dynamic COM servers (perhaps because they do not have TLB?).
Now, cPython is good to create dynamic COM servers (see Python Programming
on Win32, page 219 & +).
Thus, ironPython is bad, to use the COM servers made with cPython.
But...
Recently, I had a look on Jscript.Net (NOT managed_JScript).
I found that this language uses dynamic type (as Python), and can use
dynamic COM servers! (and without DLR!!!)
Example:
var pd = new ActiveXObject("Ponxd.Mci");
var result = pd.myfuncsinverse('AABBCC');
IronPython could use the mechanics of JScript.Net, for COM servers? It
would solve many problems.
@+
--
Michel Claveau
(sorry for my bad English)
_______________________________________________
Users mailing list
Users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
More information about the Ironpython-users
mailing list