Win32 COM: Passing NULL as a value

Mark Hammond MarkH at ActiveState.com
Sun Feb 18 17:20:49 EST 2001


Alex Martelli wrote:


> Is there a way to prepare a VARIANT directly in Python, with
> VT_DISPATCH and pdispVal==0?  

The only way is to call InvokeTypes() with the correct type tuples 
setup.  Nothing higher level has been created, but I would be willing to 
discuss how such a feature should be added...

Mark.




More information about the Python-list mailing list