Re: [python-win32] Error with VixCom operation; TypeError: The VARIANT type is unknown (0x00000015)

2009-02-17 Thread Greg Ewing
Tim Roberts wrote: It's kind of loony for an API to use a 64-bit integer as an error number, but that's what they're doing. This is Windows, remember. There are large numbers of things that can go wrong. -- Greg ___ python-win32 mailing list python-w

Re: [python-win32] Error with VixCom operation; TypeError: The VARIANT type is unknown (0x00000015)

2009-02-17 Thread Tim Roberts
Vinay Anantharaman wrote: > Hi, > > I am trying to translate an error into text by using a library function in > vix com: > > http://www.vmware.com/products/beta/vmware_server/vix_api/ReferenceGuide/lang/com/functions/GetErrorText.html > > My code is as follows: > vixLib = win32com.c

[python-win32] Error with VixCom operation; TypeError: The VARIANT type is unknown (0x00000015)

2009-02-17 Thread Vinay Anantharaman
Hi, I am trying to translate an error into text by using a library function in vix com: http://www.vmware.com/products/beta/vmware_server/vix_api/ReferenceGuide/lang/com/functions/GetErrorText.html My code is as follows: vixLib = win32com.client.gencache.EnsureDispatch('VixCom.Vi

Re: [python-win32] passing 'small' integers as 64 bit integers to COM functions

2009-02-17 Thread Mark Hammond
On 17/02/2009 6:17 PM, Shaer, Neta wrote: Hello, I’m using python 2.5 on windows (32 bit). I'm using some COM object from python. One of the functions in this COM objects expects VARIANT and operate according to the type of this VARIANT. The thing is that it does one thing if the VARIANT type i