|
From: Doyle, S. W. <SD...@mg...> - 2018-12-10 18:31:02
|
Hi - I just started using comtypes over the weekend - I suspect my question is really more about COM. I’ve been able to connect to a third party application and use GetEvents(), PumpEvents() and a sink to get the data that I need. That part is working pretty smoothly (Thanks!). But I’m confused about the timeout on PumpEvents(). My application may run for a few hours (probably 8 hours max) where I want to be listening for messages. I could just create a very large timeout - but is there a recommended mechanism I should be using instead? (I’m using Python 3.7.1). Thanks Sean __________________________________________ Sean Doyle Software Engineer MGH & BWH Center for Clinical Data Science 100 Cambridge St., 13th Floor | Boston, MA 02114 sd...@mg...<mailto:sd...@mg...> http://www.ccds.io/ The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. |