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

  

 

 

 

 

_______________________________________________
Python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to