Tim, Have you called the pythoncom.CoInitialize() method before using your COM object? This is required to use COM objects relaibly from Zope. hth Phil phil.harris@zweb.co.uk ----- Original Message ----- From: "Tim Lakey" <tim@carbonwave.com> To: "Chris Withers" <chrisw@nipltd.com> Cc: <zope@zope.org> Sent: Wednesday, March 07, 2001 6:50 PM Subject: RE: [Zope] Make a Zope object single threaded
I am using Com Object to pull in an ActiveX control for Windows Media Encoder. I am experiencing some strange behaviours and crashes, which I believe has to do with Zope's threading model conflicting in subtle ways with Com's. So, I am thinking, that if I turn off the threading on this one object in Zope, it might solve my problem. I don't really want more than one access to the Com object happening at a time anyway, so turning the threading off shouldn't cause a loss of desireable functionality in that sense. Unless it causes problems within Zope.
I remember there being a package that can be pulled into the product to do this, but I can't find it now.
Do you have any advice?
Thanks, Tim
-----Original Message----- From: Chris Withers [mailto:chrisw@nipltd.com] Sent: Wednesday, March 07, 2001 2:05 AM To: Tim Lakey Cc: zope@zope.org Subject: Re: [Zope] Make a Zope object single threaded
Tim Lakey wrote:
Does anyone know how to force a Zope product to be single
threaded within
Zope?
Out of curiosity, why do you want to? :-)
Chris
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )