[python-win32] Re: using MCI and related interfaces with pywin32

2005-02-01 Thread david sumner
On Sun, 30 Jan 2005 12:41:31 -0800 (PST) marek sez: >def mci(): >import ctypes >wm = ctypes.windll.WINMM >wm.mciSendStringA("Set CDAudio Door Open wait", 0, 0, 0) >wm.mciSendStringA("Set CDAudio Door Closed wait", 0, 0, 0) >I used this to open my cdrom tray. >It uses whe winmm.dll

[python-win32] Building Python with Tcl/Tk on Cygwin

2005-02-01 Thread Dean N. Williams
Dear Python Community, I am trying to build Python with Tcl/Tk under the Cygwin_NT-5.1. Has anyone done this? Do I need to build tcl8.4.9 and tk8.4.9 under the unix directory or the win directory. I found that the unix directory worked just fine, and it built the libtcl8.4.a and libtk8.4.a libr

[python-win32] Creating a COM singleton

2005-02-01 Thread Jim McCoy
I am having a very difficult time enforcing a single running instance of a COM server and am hoping that someone out there might have a suggestion. The basic scenario is that we have a COM server (created with the assistance of win32com.server) which needs to perform a somewhat laborious data loa