Re: [python-win32] Error: VARIANT Type is unknown

2021-02-02 Thread Olle Pontén
Yes I did. It produced the variant type unknown error as described in the first post. import win32api import win32com.server.util from win32com import client as w32Client win32Client = win32com.client.gencache.EnsureDispatch("{69072C2D-6ED1-4051-BF8D-70286A303CDD}") s = "AL" r = "On"

Re: [python-win32] Error: VARIANT Type is unknown

2021-01-26 Thread Tim Roberts
Olle Pontén wrote: Hmm ok, I could find the following information using OLEView (se attachment). It states that the two in parameters are noted as VT_LPWSTR for the scriptCmd command. Would that mean that I have no way of interfacing with them at all? No, it doesn't mean that!  If it

Re: [python-win32] Error: VARIANT Type is unknown

2021-01-26 Thread Olle Pontén
Thanks for the response! Hmm ok, I could find the following information using OLEView (se attachment). It states that the two in parameters are noted as VT_LPWSTR for the scriptCmd command. Would that mean that I have no way of interfacing with them at all? I would prefer exhausting what I can do

Re: [python-win32] Error: VARIANT Type is unknown

2021-01-21 Thread Mark Hammond
On 21/01/2021 10:00 pm, Olle Pontén wrote: Hello! I'm quite new to the pywin32 package (as in I have never interacted with it before). I'm currently trying to implement a python interface to a win32 bit program that I can connect to using the ordinary win32com.client.Dispatch method. This

[python-win32] Error: VARIANT Type is unknown

2021-01-21 Thread Olle Pontén
Hello! I'm quite new to the pywin32 package (as in I have never interacted with it before). I'm currently trying to implement a python interface to a win32 bit program that I can connect to using the ordinary win32com.client.Dispatch method. This program controls an microscope camera and the only