[IronPython] py to ip

Glauco Uri glauco.uri at prometeia.it
Tue Feb 3 09:02:15 PST 2009


How is the best practice to convert this code in Iron?

 >>> import win32com.client
 >>> win32com.client.Dispatch("DSXXXX.XXXXChannel")
<win32com.gen_py.DSAXXXX -_XXXXChannel instance at 0x15331416>
 >>>


I've tryed this but don't work:
 >>> import clr
 >>> clr.AddReferenceToFile("DSXXXX.dll")
 >>> import DSXXXX
 >>> clr.SetCommandDispatcher( DSXXXXX.XXXXChannel )
 >>>

dll was converted following the instruction in Tutorial.htm



Thank you
Glauco


More information about the Users mailing list