PyVariant anyone

Mark Hammond mhammond at skippinet.com.au
Tue Jul 15 02:36:34 EDT 2003


Paul Keating wrote:
> I need to call a C++ DLL from Python, for which I'm planning to use
> boost.python. But the DLL has been written to a VBA interface, and this
> means it expects to get variable length arrays as Windows Variants instead
> of lists or tuples.
> 
> Anyone know how to construct a convincing Windows Variant in Python?

If you can link against pythoncom.dll, there are public functions there 
for it.

Mark





More information about the Python-list mailing list