[python-win32] How to clear a "dead" icon from system tray?

Alec Bennett whatyoulookin at yahoo.com
Thu Apr 10 20:58:20 CEST 2008


> Interesting.  You're saying that the normal
> del kb is not enough to clean this up?

Whoops, user error. I had declared my com object as global so I could delete it from somewhere
else, but forgot to declare it as global before deleting it....

Works fine now, thanks.

And for anyone coming down this path, I mentioned a way to get the reference count of a com
object, just remembered how to do it:

sys.getrefcount(kb)








__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the python-win32 mailing list