[python-win32] win32pdh problems
Frank Günther
f.g.- at gmx.de
Mon Feb 6 11:29:27 CET 2006
Hi,
I use win32pdh and EnumObjectsItems
to get pids for application name.
By importing win32pdh or calling win32pdh.EnumObjectItems I get several
strange hard to find problems on some machines.
The problems occur only on few machines (XP and NT)!
1.) the float separator is changed from . to , so there arise unpickling
errors (workaround is to call locale.setlocale(locale.LC_NUMERIC, "C")
posted here before)
2.) the working directory (os.getcwd()) is changed to a complete
different path
3.) a connected socket (using module socket) is disconnected
Are there changes in win32pdh on newer versions then Py2.3 and PyWin Built
204?
I think about not using win32pdh anymore to get the pids from application
names.
Has anyone a suggestion for implementing this in a different way?
Ciao,
Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20060206/88516328/attachment.htm
More information about the Python-win32
mailing list