Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
win32com problem: more than one instance
- From: SSchukat at dspace.de (Stefan Schukat)
- Subject: win32com problem: more than one instance
- Date: Fri, 31 Aug 2007 17:05:37 +0100
Hello Thomas, excel registers its COM objects with REGCLS_SINGLEUSE that means one COM object is created per process. In Solidworks it seems that that they register with REGCLS_MULTIPLEUSE, which means on process can serve more than one COM object. Hence you have no chance to get multiple instances running in any COM client. Stefan > -----Original Message----- > From: python-list-bounces+sschukat=dspace.de at python.org > [mailto:python-list-bounces+sschukat=dspace.de at python.org] On > Behalf Of Tim Golden > Sent: Friday, August 31, 2007 1:36 PM > To: Thomas Rademacher > Cc: python-list at python.org > Subject: Re: win32com problem: more than one instance > > Thomas Rademacher wrote: > > Hello, > > > > I start my script convert.py simultaneously in any > dos-shells several > > times. But I get every time the same solidworks instance. > > I see in the proccess (task) manager only one > solidworks.exe Therefore > > I get for all simultaneous conversions the same output file. > > I *think* -- and I'm really hoping someone more knowledgeable > can chip in here -- that it's down to the particular COM > object implementation. ie Excel may choose to offer you > separate instances (or whatever they're called) while > SolidWorks may not. > > TJG > -- > http://mail.python.org/mailman/listinfo/python-list >
- References:
- win32com problem: more than one instance
- From: Tim Golden
- win32com problem: more than one instance
- Prev by Date: So what exactly is a complex number?
- Next by Date: Complex Numbers
- Previous by thread: win32com problem: more than one instance
- Next by thread: Google spreadsheets
- Index(es):