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: [email protected] [mailto:[email protected]] On Behalf Of Michel Claveau Sent: Wednesday, June 17, 2009 7:22 AM To: [email protected] 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 [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
