[python-win32] how to generate an IPersistStream object?

Gabriel Genellina gagsl-p32 at yahoo.com.ar
Mon Jan 29 19:41:40 CET 2007


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 



More information about the Python-win32 mailing list