> i need to pass an IPersistStream object to a COM function,
> and i find a type named PyIPersistStream in the manual of pywin32.
>
> but i don't know how to generate a PyIPersistStream object and pass it
> to the function.
> anyone could help me?

Gabriel is completely correct - see ./win32com/demos/ietoolbar.py and
./win32com/test/testStreams.py for 2 samples that use this interface.

Mark

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to