Re: [python-win32] Error calling win32pdh.EnumObjectItems

2005-11-28 Thread Mark Hammond
It looks like you have an old win32all version (it looks like it was fixed in win32all-154). This should be fixed in all pywin32 versions available from sourceforge. Mark > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Rogelio Flores > Sent: Tuesday,

[python-win32] Error calling win32pdh.EnumObjectItems

2005-11-28 Thread Rogelio Flores
Can anyone tell me what this error message means? >>> win32pdhutil.ShowAllProcesses() Traceback (most recent call last): File "", line 1, in ? File "c:\...\win32pdhutil.py", line 67, in ShowAllProcesses items, instances = win32pdh.EnumObjectItems(None,None,object, win32pdh.PERF_ DETAIL_WIZ

Re: [python-win32] mciSendCommand from win32 ???

2005-11-28 Thread Gabriel Genellina
At Monday 28/11/2005 09:55, [EMAIL PROTECTED] wrote: >I want to call mciSendCommand to record a music in Windows. >I want to do same thing like in this code (Delphi): >1. Can I do it ? >2. If not, what is the solution (I haven't Delphi... I have only >freeware things) Try http://www.freepascal.or

Re: [python-win32] Question on .pyw extension in Python

2005-11-28 Thread Tim Golden
[flame burns] > I've installed Python 2.4 on my pc which runs Windows xp. > I downloaded scripts from some sites which uses .pyw > extension. When I use them the script runs without popping > up a console. But when I try to write my own script with > pyw extension it doesn't work. Can any one h

[python-win32] mciSendCommand from win32 ???

2005-11-28 Thread [EMAIL PROTECTED]
Hi ! I want to call mciSendCommand to record a music in Windows. I want to do same thing like in this code (Delphi): procedure TForm1.OpenMedia; var MyOpenParms: TMCI_Open_Parms; begin Flags:=mci_Wait or mci_Open_Element or mci_Open_Type; with MyOpenParms do begin dwCallback:=Han

[python-win32] Question on .pyw extension in Python

2005-11-28 Thread flame burns
I've installed Python 2.4 on my pc which runs Windows xp. I downloaded scripts from some sites which uses .pyw extension. When I use them the script runs without popping up a console. But when I try to write my own script with pyw extension it doesn't work. Can any one help me? Enjoy this Diwal