[python-win32] BSTR

Mark Hammond mhammond at skippinet.com.au
Fri Apr 14 00:35:08 CEST 2006


> The question is, how to convert a String in a BSTR (unicodestring with
> header)?

Python will *always* (unless an object's typelib indicated otherwise) pass a
VT_BSTR when a string literal is specified.  I'm afraid I can't speculate on
what the problem may otherwise be.

Mark



More information about the Python-win32 mailing list