> what must I take care of by myself when I want to terminate a program
> which
> communicates with Outlook through the extended mapi interface, i.e. in
> addition
> to session.Logoff and mapi.MAPIUnitialize?
> Currently I get the following errors upon prorgam termination and, what
> is more
> important, Outlook hangs and has to be restarted:
> 
> Win32 exception occurred releasing IUnknown at 0x01fa09a8

You should ensure all references to MAPI objects have been dropped before
you uninitialize MAPI.  pythoncom._GetInterfaceCount() will tell you how
many you have (probably 1 for each of the messages you see)

Cheers,

Mark

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

Reply via email to