Hi,
I have a COM addin that is being used with Outlook 2000, 2002 and
2003. When Outlook 2000 and 2002 close with the addin enabled,
Outlook closes cleanly. When Outlook 2003 closes with the addin
enabled, Outlook appears to close fine, but the outlook.exe remains in
the task manager.
If Outlook 2003 is run without the addin, it closes fine. If the
addin is running in Outlook 2003, and is then removed (via
tools->Options...), outlook closes fine.
If anyone has any suggestions as to why the same addin cleans up fine
for 2000/2002, but not for 2003, I would really appreciate it.
Thanks in advance,
Irene
Ken Slovak - [MVP - Outlook] - 01 Apr 2004 15:53 GMT
A properly written addin should not hang Outlook no matter which version of
Outlook is used. I have many addins that work OK on all versions of Outlook
from 2000 to 2003.
Are you following the programming model shown in the ItemsCB COM addin
sample (VB 6) on the Resources page at www.microeye.com to release all your
Outlook objects at the correct time?

Signature
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
> Hi,
>
[quoted text clipped - 13 lines]
> Thanks in advance,
> Irene
Irene - 02 Apr 2004 16:41 GMT
Thanks for your response, Ken.
The problem ended up being that one of the addin's dependency DLLs was
not handling the intialization/unitialization of COM correctly (this
DLL is used elsewhere, hence the need to check for COM intialization).
Irene
> A properly written addin should not hang Outlook no matter which version of
> Outlook is used. I have many addins that work OK on all versions of Outlook
[quoted text clipped - 21 lines]
> > Thanks in advance,
> > Irene