Re: [python-win32] no array returned in output parameter

2008-12-15 Thread Tim Roberts
Enric Jaen wrote: > I am 100 % sure because I have tested it with a VB program and it returns > data. > What are you controlling here? Is this Flash? > As I have seen from previous posts in this mailinglist, the memory is > allocated at the COM side. > Yes, but that should be irrelevan

Re: [python-win32] no array returned in output parameter

2008-12-15 Thread Enric Jaen
Thanks for the explanation, Tim. I am 100 % sure because I have tested it with a VB program and it returns data. As I have seen from previous posts in this mailinglist, the memory is allocated at the COM side. This also returns a null array: a,b = r.getFilters() /Enric - Mensaje ori

Re: [python-win32] Transmit HID device with python on Windows

2008-12-15 Thread Tim Roberts
Wang Yongqing wrote: > > I have a USB hid device, and I want to use the python to communicate > with it on the Windows. > > My question is whether there is a python module which could be used to > this program. The "libhid" project has a Windows version and includes a Python binding. http://li

Re: [python-win32] no array returned in output parameter

2008-12-15 Thread Tim Roberts
Enric Jaen wrote: > I have the following method generated by makepy.py: > > def GetFilters(self, pvarFilterArray=defaultNamedNotOptArg, > pnArraySize=defaultNamedNotOptArg): > """method GetFilters""" > return self._oleobj_.InvokeTypes(68, LCID, 1, (24, 0), ((16396, 0), > (16387, 0

Re: [python-win32] Post Message

2008-12-15 Thread Tim Roberts
Ferdinand Sousa wrote: > > I have written a small script to automate a process. The issue is that > a "Save As" pops up at the end. Using Winspector, I could come up with > this: > win32gui.PostMessage(win_hdl,con.WM_COMMAND,1,0) # handle to the "Save > As" window, message type, Control ID of the "

[python-win32] no array returned in output parameter

2008-12-15 Thread Enric Jaen
Hi, ** Situation ** Using python 2.6.1. I have the following method generated by makepy.py: def GetFilters(self, pvarFilterArray=defaultNamedNotOptArg, pnArraySize=defaultNamedNotOptArg): """method GetFilters""" return self._oleobj_.InvokeTypes(68, LCID, 1, (24, 0), ((16396, 0),

[python-win32] Post Message

2008-12-15 Thread Ferdinand Sousa
Greetings everyone, My config is: python 2.5.1 pywin32 build 212 Win Xp I have written a small script to automate a process. The issue is that a "Save As" pops up at the end. Using Winspector, I could come up with this: win32gui.PostMessage(win_hdl,con.WM_COMMAND,1,0) # handle to the "Save As" wi

[python-win32] Transmit HID device with python on Windows

2008-12-15 Thread Wang Yongqing
Hi All, I have a USB hid device, and I want to use the python to communicate with it on the Windows. My question is whether there is a python module which could be used to this program. Best regards Yongqing ___ python-win32 mailing list p