Hi I have got some questions regarding win32com.client.DispatchEventWithEvents()
Is there any documentation available for this method? I am writing a kind for a network proxy for a custom COM api. and I am using a simple socket server based on the standard python classes. The implemented request handler reads some data from the socket, transforms it suitable for the COM api and send the result back. the COM objects are constructed in the "main" thread using win32com.client.Dispatch() Now I am working on a handler for asychronous COM events, it is sufficient to replace Dispatch() with DispatchWithEvents() or do I have to start a new thread for every COM object using an event handler ? In my understanding the argument for DispatchWithEvents is a class and not an instance, so how can i configure or initialize my handler instance eg. for a handler specific TCP callback ? Any help or pointers to documentation/examples are greatly appreciated. Regards Michael _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32