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
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.
&
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