How to return VT_EMPTY from a COM server
Juan Carlos CORUÑA
jcc at ibdosnorte.com
Mon Oct 7 06:25:01 EDT 2002
Hello all,
To resolve a problem I had with a COM server I developed, I have
reached to the following conclusion: I must return the variant
VT_EMPTY from a method of the COM server. As exposed in the book
"Python Programming on win32" pythoncom can translate between them
seamlessly. The variant types VT_NULL and VT_EMPTY are translated to
python None, but the inverse only works from None to VT_NULL.
Then the questions is: How can I return VT_EMPTY (not VT_NULL)?
More information about the Python-list
mailing list