[IronPython] COM Interop - Dot net Interface Support in 2.0A4

Davy Mitchell daftspaniel at gmail.com
Fri Oct 5 23:50:09 CEST 2007

Sorry if I have missed this, but are COM Interfaces supported in
Interop? I guess this would be a DotNet interface at this stage?

import clr
from Microsoft.Feeds.Interop import *
t = FeedsManagerClass()
print t.RootFolder
u = t.RootFolder
print u
print u.TotalItemCount

results in....

<__ComObject object at 0x000000000000002B>
<__ComObject object at 0x000000000000002C>

SystemError: Could not load type 'Feeds.IFeedFolder' from assembly
'Feeds, Version=, Culture=neutral, PublicKeyToken=null'.

Davy Mitchell
Blog - http://www.latedecember.co.uk/sites/personal/davy/
Twitter - http://twitter.com/daftspaniel
Skype - daftspaniel

More information about the Ironpython-users mailing list