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: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Tim Golden > Sent: Friday, August 31, 2007 1:36 PM > To: Thomas Rademacher > Cc: python-list@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 > -- http://mail.python.org/mailman/listinfo/python-list