[python-win32] Outlook Addin Help

Metz, Bobby W, WWCS bwmetz at att.com
Fri May 12 17:16:03 CEST 2006


Do you by chance still have a reference to the MAPI namespace open or
maybe some folder or item you referenced during execution?

-----Original Message-----
From: python-win32-bounces at python.org
[mailto:python-win32-bounces at python.org]On Behalf Of Bill Burns
Sent: Friday, May 12, 2006 7:33 AM
To: Mark Hammond
Cc: python-win32 at python.org
Subject: Re: [python-win32] Outlook Addin Help


>>Object with win32trace dispatcher created (object=None)
>>Gateway Count:  2
>>Interface Count:  4
>>
>>Is there something I should try to get the Interface Count down to
zero?
> 
> 
> In Spambayes, I previously tried everything I could think of to locate
them.
> I guess additional analysis is necessary to determine exactly what
objects
> they are before we can determine how to kill them.


I was able to kill some of the objects by adding this code to the
ButtonEvent,

def Close(self):
         self.application = None
         self.activeExplorer = None
         self.close()

now I get the following output:

Object with win32trace dispatcher created (object=None)
Gateway Count:  1
Interface Count:  1

I'll keep "tooling" around with it....

Bill



_______________________________________________
Python-win32 mailing list
Python-win32 at python.org
http://mail.python.org/mailman/listinfo/python-win32


More information about the Python-win32 mailing list