Re: [python-win32] COM server with events and multiple threads

2005-05-23 Thread Mark Hammond
> I don't know how to tell VB6 to use free-threading or how to > spawn new > threads in VB6 that belong to the MTA. Are you sure it's possible, do > you have more information on how to do this? I doubt it is possible for the main GUI thread. I believe VB can create threads via API calls, so they

Re: [python-win32] async COM calls from python

2005-05-23 Thread Mark Hammond
> I'm trying to integrate a Python event loop (specifically, > Twisted's reactor) into a COM in-process server. I've > discovered CoWaitForMultipleHandles and it seems like it > might be part of such a solution. Sadly that is missing from the current pythoncom. However, WaitForMultipleObjects is,

[python-win32] Odd py2exe & Win32 error....

2005-05-23 Thread Schollnick, Benjamin
Folks, I have run into a problem that is py2exe & win32 related, but I am not sure which toolkit has the problem... from win32com.client import gencache gencache.EnsureModule('{565783C6-CB41-11D1-8B02-00600806D9B6}', 0, 1, 2) Has anyone used py2exe, and started to get the following err

[python-win32] Q: daemon spawn from within apache cgi blocks parent process

2005-05-23 Thread replytodirk
Hi all! I want to create a daemon process from within a python cgi script running on apache/win32. This daemon's lifetime is longer than that of the creating cgi script - of course, because the script starts the daemon, writes some html code to stdout and then exits. This simple task kept me busy