Re: [ctypes-users] Problem in an interaction between pygtk and ctypes on Win32
Brought to you by:
theller
From: Niki S. <ni...@vi...> - 2005-03-31 14:46:32
|
Guillaume Proux wrote: > I built the attached module to enable me to use a bunch of very low > level system functions in Windows. > pygtk users -> To use it you will need "ctypes" from Thomas Heller. > > you can then do something like > > import localaccountinfo > print localaccountinfo.GroupEnumUser(u'Users') > > Gives the expected result on my machine... > > However, if I do > > import gtk > import localaccountinfo > print localaccountinfo.GroupEnumUser(u'Users') > > makes python interpreter crash hard! > > I imagine that pygtk is doing something wrong here that deeply > influences later calls to GroupEnumUser() but I can't manage to pinpoint > the problem.. > a CD/DVD offered to anybody who can help me! > > Help! IIRC pygtk/gtk changes current locale. How is 'Users' spelled in this new locale? HTH Niki Spahiev |