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?


"can’t release" - what does that mean? Certainly xxx no longer refers to the object.

 

Thanks

 

Gary

 

# example

xxx = win32com.client.Dispatch('abcd.XXX')

# to release

xxx = None


--
Bob Gailer
Chapel Hill NC
919-636-4239
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to