[IronPython] ctypes .net interaction (casting a pointer to a .net object)

2011-04-30 Thread Sebastien de Menten
Hi, In my effort to be able to use the GetRunningObjectTable in ironpython, I succeeded in recovering a pointer to a IBindCtx object by using the ctypes library. Is it possible to then cast this pointer (or transform it) to a IBindCtx Ironpython type on which I could call other methods ? And

Re: [IronPython] ctypes .net interaction (casting a pointer to a .net object)

2011-04-30 Thread Dino Viehland
Sebastien wrote: In my effort to be able to use the GetRunningObjectTable in ironpython, I succeeded in recovering a pointer to a IBindCtx object by using the ctypes library. Is it possible to then cast this pointer (or transform it) to a IBindCtx Ironpython type on which I could call other