The Python dict object is not a compatible COM object, you
need to use
a COM compatible dictionary. You can develop one or use the
Scripting.Dictionary:
http://windowssdk.msdn.microsoft.com/en-us/libra
ry/x4k5wbx4.aspx
Rodrigo Strauss
On 7/22/06, hari haran <comhari hotmail.com> wrote:
> Hi,
>
> I am trying to write a Simple COM using Python. I am
trying to use it in VB.
> 1.
> If I return a dict from Python VB throws a COM
exception saying that dict
> cannot be converted tio COM VARIANT.
> 2.
> This is just a testing. What I am trying to see is to
develope UI in VB and
> try to use Python as my engine. Is there any proven
ways to do it. (Other
> than using Python UIs like Tkinter, WxPython etc)
>
>
> Thanks
> --Hari
>
>
____________________________________________________________
_____
> Fall in Love... Get married! Join FREE!
> http://
www.shaadi.com/ptnr.php?ptnr=msnhottag
>
> _______________________________________________
> Python-win32 mailing list
> Python-win32 python.org
>
http://mail.python.org/mailman/listinfo/python-win32
>
_______________________________________________
Python-win32 mailing list
Python-win32 python.org
http://mail.python.org/mailman/listinfo/python-win32
|