At Monday 29/1/2007 07:43, Leo Jay wrote:

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?

I've never implemented that interfase myself, but usually you only have to add two class attributes: _com_interfaces_ and _public_methods_, and implement the needed methods. You should refer to the Microsoft documentation on the exact semantics of each method.


--
Gabriel Genellina
Softlab SRL

        

        
                
__________________________________________________ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to