[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

Re: [python-win32] Creating a COM singleton

2005-02-02 Thread Jim McCoy
e it is only getting called > after the important part has happened: after the SCM has already decided > to spin up a new a new process. But then again if process is already > running and has registered the class object then you'd think the SCM > would just forward the request to you. &

Re: [python-win32] detect file modification event

2005-10-20 Thread Jim McCoy
The only warning I would add here is that you should be aware of the fact that your watcher thread will block waiting for a change to occur in the directory; you cannot cancel the blocked ReadDirectoryChangesW call using the standard pywin32 bindings. We have put together some patches for ReadDirec