Re: [python-win32] Python Windows Service and registering for preshutdown?

2012-02-06 Thread Mark Hammond
On 7/02/2012 5:18 PM, Lincoln Yeoh wrote: Hi, Is it easy to create a python windows service that registers for the preshutdown event[1]? It sounds like it should be easy, although you will need to define your own new constants which have been introduced. It would be great if you do get it w

[python-win32] Python Windows Service and registering for preshutdown?

2012-02-06 Thread Lincoln Yeoh
Hi, Is it easy to create a python windows service that registers for the preshutdown event[1]? Basically I would like a window service that will help shutdown .Net (and possibly other) services in the right order. Because: http://connect.microsoft.com/VisualStudio/feedback/details/641737/ad

Re: [python-win32] mouse cursor coordinates

2012-02-06 Thread Jacob Kruger
OK, did another web search relating to this now, and found the following page: http://atcoalition.org/article/large-computer-pointerscursors Either way, there they mention that on windows, if you go to mouse pointer options, there's an option you can enable/turn on: Show location of pointer wh

Re: [python-win32] win32file.CreateFile versus win32file.CreateFileW

2012-02-06 Thread Mark Hammond
On 7/02/2012 2:45 AM, Scott Leerssen wrote: I'm trying to open files with names that contain Japanese characters, and found that win32file.CreateFile would raise an exception indicating that 'The filename, directory name, or volume label syntax is incorrect'. I found win32file.CreateFileW (docum

Re: [python-win32] win32file.CreateFile versus win32file.CreateFileW

2012-02-06 Thread Scott Leerssen
On Feb 6, 2012, at 11:03 AM, Amaury Forgeot d'Arc wrote: > 2012/2/6 Scott Leerssen > I'm trying to open files with names that contain Japanese characters, and > found that win32file.CreateFile would raise an exception indicating that 'The > filename, directory name, or volume label syntax is i

Re: [python-win32] win32file.CreateFile versus win32file.CreateFileW

2012-02-06 Thread Amaury Forgeot d'Arc
2012/2/6 Scott Leerssen > I'm trying to open files with names that contain Japanese characters, and > found that win32file.CreateFile would raise an exception indicating that > 'The filename, directory name, or volume label syntax is incorrect'. I > found win32file.CreateFileW (documented to dea

[python-win32] win32file.CreateFile versus win32file.CreateFileW

2012-02-06 Thread Scott Leerssen
I'm trying to open files with names that contain Japanese characters, and found that win32file.CreateFile would raise an exception indicating that 'The filename, directory name, or volume label syntax is incorrect'. I found win32file.CreateFileW (documented to deal with 'unicode'), and that did