[IronPython] py to ip

António Piteira antonio.piteira at wtvision.com
Tue Feb 3 18:12:54 CET 2009

Shouldn't you do :

import clr
from DSXXXX import *
clr.SetCommandDispatcher( DSXXXXX.XXXXChannel )

Anyway, can you give us the error or output?


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
Users mailing list
Users at lists.ironpython.com

More information about the Ironpython-users mailing list