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

2005-11-29 Thread Tim Roberts
On Mon, 28 Nov 2005 13:55:00 +0100, <[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) > > I

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

2005-11-29 Thread Michel Claveau
Hi! I had wrapped MCI with ctypes. Here, begin of my source : from ctypes import windll, c_buffer class mci: def __init__(self): self.w32mci = windll.winmm.mciSendStringA self.w32mcierror = windll.winmm.mciGetErrorStringA def send(self,commande): buffer = c_