[python-win32] win32com. Python long to VARIANT conversion patch.

Mark Hammond mhammond at skippinet.com.au
Sun May 7 01:57:34 CEST 2006


> I'm new to this thread, so please excuse me if this already been 
> discussed or have already been patched.
> 
> While working with COM I've noticed that sometimes Python long values 
> does not convert correctly to COM VARIANT (I assumed that 
> VT_{I4,UI4,I8,UI8,BSTR} should be used). 

Can you give me an example of code which causes a bad conversion?

Cheers,

Mark



More information about the Python-win32 mailing list