Re: [python-win32] problem After compiling with py2exe on a com class

2012-07-16 Thread Matteo Boscolo
Il 17/07/2012 03:19, Mark Hammond ha scritto: On 17/07/2012 8:37 AM, Matteo Boscolo wrote: Hi all, I got a com server that is crated inside a cad application. if i run the following code(That is a method of my com class): def showWindows(self): """ show a qt windows with

Re: [python-win32] Does pywin32 support SD card operation(IOCTL_SFFDISK_QUERY_DEVICE_PROTOCOL)?

2012-07-16 Thread Roger Upole
That one isn't in winioctlcon.py yet, but you should be able to define it relatively easily. According to the headers: #define IOCTL_SFFDISK_QUERY_DEVICE_PROTOCOL \ CTL_CODE( FILE_DEVICE_DISK, 0x7a0, METHOD_BUFFERED, FILE_ANY_ACCESS) You'll probably need to create the output buffer

Re: [python-win32] problem After compiling with py2exe on a com class

2012-07-16 Thread Mark Hammond
On 17/07/2012 8:37 AM, Matteo Boscolo wrote: Hi all, I got a com server that is crated inside a cad application. if i run the following code(That is a method of my com class): def showWindows(self): """ show a qt windows with a button """ try:

[python-win32] problem After compiling with py2exe on a com class

2012-07-16 Thread Matteo Boscolo
Hi all, I got a com server that is crated inside a cad application. if i run the following code(That is a method of my com class): def showWindows(self): """ show a qt windows with a button """ try: logging.info("showWindows .") nD

[python-win32] Does pywin32 support SD card operation (IOCTL_SFFDISK_QUERY_DEVICE_PROTOCOL)?

2012-07-16 Thread Jane Chen
Hi All, Does pywin32 support SD card operation (IOCTL_SFFDISK_QUERY_DEVICE_PROTOCOL)?   I google IOCTL_SFFDISK_QUERY_DEVICE_PROTOCOL with Python. However, no useful information shows up.  My code: if win32file.DeviceIoControl(hVol, winioctlcon.IOCTL_SFFDISK_QUERY_DEVICE_PROTOCOL, 0, 6, 0): Er

Re: [python-win32] Take Screenshot when you log in remotely [Win 7 Pro]

2012-07-16 Thread Ferdinand Sousa
Hi Tim, Thanks a lot for the inputs. Earlier (Win Xp I think), I was told (erroneously?) that using the /console switch with the mstsc command would enable you to connect into a currently running local user session. Is this info incorrect? Or is it that you are able to connect to the said session,