[python-win32] Re: How to get the current active language in which I'm

2008-07-14 Thread Roger Upole
Dror Cohen wrote: Hi :) I've been asking about this matter in the python tutor mailing list and I've been suggested to post my question here, as it was specific to win32api. I want to be able to know what is my currently active language, how can I do that? Try win32api.GetThreadLocale().

[python-win32] How to get the current active language in which I'm typing in windows.

2008-07-14 Thread Dror Cohen
Hi :) I've been asking about this matter in the python tutor mailing list and I've been suggested to post my question here, as it was specific to win32api. I want to be able to know what is my currently active language, how can I do that? I've been searching around for functions and this is the on

Re: [python-win32] about wmi exception

2008-07-14 Thread Tim Roberts
Patrol Sun wrote: I want to prevent some process from running. The code is in the following. I encounter some unexpected troubles. Probelm1: This program cannot terminate "scrcons.exe" and "FNPLicensingService.exe",which are system processes. If you kill FNPLicensingService, you will not be ab

[python-win32] win32gui_menu doesn't work correctly

2008-07-14 Thread BOURDON jeremy
hi, When I run win32gui_menu.py, one bitmap in the menu is not drawing. The one that's not drawing is the ico convert to bitmap with the text "Menu with icon". I install the last build of pywin32 with python 2.5.1 and my OS is WindowsXP SP2. is there a problem with the example code or it's only w

[python-win32] Matlab COM object cause memory leak

2008-07-14 Thread Thomas Lidebrandt
Hello I have a Server application that uses Matlab, this works fine when I use the Execute method to evaluate and retrieve data. However, using the method GetFullMatrix in the method getvar seems to cause a memory leak. Anyone got any idea? I use the following code for the communication with Mat

[python-win32] about wmi exception

2008-07-14 Thread Patrol Sun
I want to prevent some process from running. The code is in the following. I encounter some unexpected troubles. Probelm1: This program cannot terminate "scrcons.exe" and "FNPLicensingService.exe",which are system processes. Problem2:After a while, this program will abort by error File "C:\Pytho