Outlook 2003 shutdown issues (addin behaves differently from Outlook 2000/2002)

I

Irene

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
 
K

Ken Slovak - [MVP - Outlook]

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?
 
I

Irene

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top