<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>

<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>[python-win32]   RE : win32pdhutil.ShowAllProcesses() fails</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText42790 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>
<DIV id=idOWAReplyText17843 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Yes, it works! Thank you very 
much! (actually "Process ID" also had to changed)</FONT></DIV>
<DIV dir=ltr>Maybe the function should be updated in next releases?</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Cheers,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Charles.</FONT></DIV></DIV>
<DIV dir=ltr></FONT><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>De:</B> python-win32-bounces@python.org de la part 
de Roger Upole<BR><B>Date:</B> sam. 15/07/2006 21:00<BR><B>À:</B> 
python-win32@python.org<BR><B>Objet :</B> [python-win32] RE : 
win32pdhutil.ShowAllProcesses() fails<BR></FONT><BR></DIV></DIV></DIV>
<DIV>
<P><FONT size=2>&gt; Charles BROSSOLLET wrote:<BR>&gt;<BR>&gt;&gt; when I looked 
again in the archives, I looks that people who have the problem are on 
non-english OSes... Maybe it is related?<BR>&gt;&gt; Cheers<BR>&gt;&gt; 
Charles<BR>&gt;<BR><BR>Actually, I just noticed that win32pdhutil already has a 
function to retrieve the localized<BR>counter name.&nbsp; If you change the 
first line of ShowAllProcesses to<BR>object = 
find_pdh_counter_localized_name('Process')<BR>does it work 
?<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Roger<BR><BR><BR>_______________________________________________<BR>Python-win32 
mailing list<BR>Python-win32@python.org<BR><A 
href="http://mail.python.org/mailman/listinfo/python-win32">http://mail.python.org/mailman/listinfo/python-win32</A><BR><BR><BR><BR></FONT></P></DIV>

</BODY>
</HTML>