passing dictionaries through COM

Stefan Schukat SSchukat at dspace.de
Fri Jan 11 07:28:50 EST 2002


> 
> Hi,
> 
> there is no such type as mapping in oleautomation. If you
> want to have a mapping type you must pass an object which 
> behaves like a dictionary. A sample COM server which acts
> like a dictionary is in 
> 
> %PythonRoot%\win32com\servers\dictionary.py
> 
> How to wrap Python objects as return values in COM servers could 
> be in the book of Mark and Andy.
Addendum:

"Python Programming on Win32"
Chapter : Implementing COM Objects in Python 213pp

	Stefan





More information about the Python-list mailing list