RE: win32com problem: more than one instance
- From: "Stefan Schukat" <SSchukat@xxxxxxxxx>
- 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@xxxxxxxxxx
[mailto:python-list-bounces+sschukat=dspace.de@xxxxxxxxxx] On
Behalf Of Tim Golden
Sent: Friday, August 31, 2007 1:36 PM
To: Thomas Rademacher
Cc: python-list@xxxxxxxxxx
Subject: Re: win32com problem: more than one instance
Thomas Rademacher wrote:
Hello,dos-shells several
I start my script convert.py simultaneously in any
times. But I get every time the same solidworks instance.solidworks.exe Therefore
I see in the proccess (task) manager only one
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
- Prev by Date: Re: So what exactly is a complex number?
- Next by Date: Re: strings (dollar.cents) into floats
- Previous by thread: Re: win32com problem: more than one instance
- Next by thread: Google spreadsheets
- Index(es):