Re: [python-win32] Releasing a Com object

2009-01-20 Thread Mark Hammond
bject... Mark Thanks Gary *From:* bob gailer [mailto:bgai...@gmail.com] *Sent:* Tuesday, January 20, 2009 11:05 AM *To:* Gary Scorby *Cc:* python-win32@python.org *Subject:* Re: [python-win32] Releasing a Com object Gary Scorby wrote: I’m having trouble releasing a com object. In the past

Re: [python-win32] Releasing a Com object

2009-01-20 Thread Dahlstrom, Roger
PM To: Greg Antal; python-win32@python.org Subject: Re: [python-win32] Releasing a Com object That was my original attempt. No luck with that either. This sucker has nine lives. Thanks for your response. Gary From: python-win32-bounces+gary.scorby=harlandfs@python.org [mailto:python

Re: [python-win32] Releasing a Com object

2009-01-20 Thread Gary Scorby
, January 20, 2009 12:59 PM To: python-win32@python.org Subject: Re: [python-win32] Releasing a Com object Try del xxx Even when you invoke whatever "stop" or "close" methods that object offers, you sometimes still have to delete the object to make the application shut

Re: [python-win32] Releasing a Com object

2009-01-20 Thread Greg Antal
Try     del xxx Even when you invoke whatever "stop" or "close" methods that object offers, you sometimes still have to delete the object to make the application shut down. - Greg Antal Gregory W. Antal Senior Technical Advisor ATA Engineering, Inc. 11995 El Camino Real, Suite 200 San Diego

Re: [python-win32] Releasing a Com object

2009-01-20 Thread Gary Scorby
n the past have had this problem. Thanks Gary From: bob gailer [mailto:bgai...@gmail.com] Sent: Tuesday, January 20, 2009 11:05 AM To: Gary Scorby Cc: python-win32@python.org Subject: Re: [python-win32] Releasing a Com object Gary Scorby wrote: I'm having trouble releasing a

Re: [python-win32] Releasing a Com object

2009-01-20 Thread bob gailer
Gary Scorby wrote: You are correct, it no longer refers to the object.  I should have added a few more details.  Windows still believes the object is in use, in this case it’s a dll.  Nothing else can be done with the dll until Python is completely shut down.  None of the other

Re: [python-win32] Releasing a Com object

2009-01-20 Thread bob gailer
Gary Scorby wrote: I’m having trouble releasing a com object.  In the past I’ve always set the instance to None and life is good, as in the example below.  I’m currently working with an object I can’t release with this method.  Anybody have a different/better way to handle this?

[python-win32] Releasing a Com object

2009-01-20 Thread Gary Scorby
I'm having trouble releasing a com object. In the past I've always set the instance to None and life is good, as in the example below. I'm currently working with an object I can't release with this method. Anybody have a different/better way to handle this? Thanks Gary # example xxx