T
Teodora Gancheva
Hi,
I am developing a C# COM add-in for Outlook 2003 and 2007.
Recently the need for supporting multiple Outlook explorers arised and I am
currently implementing that. I used Ken Slovak's Outlook project
CSAddinTemplate as a sample - many thanks for the great template and all the
guidance in developing COM add-ins for Office .
All is working fine for Outlook 2007, but in Outlook 2003 (it's SP3) when I
start multiple explorers and then close them one by one, Outlook process
won't shutdown (OnDisconnection does not even get called). If I only have one
Outlook explorer, the process exits nicely.
I thought I had forgotten to release any references to Outlook objects, so I
disabled my add-in from the registry and left only the CSAddinTemplate to
load - this again led Outlook to not shut down. If I disable all add-ins,
Outlook closes without any issues. Also if I use File->Exit, and not the X
button, Outlook shuts down nicely, no matter if I have add-ins loaded and how
many explorers are opened.
Have you ever encountered such issues with Outlook 2003 - is it a bug or do
I need to re-check the code for unreleased references?
Many thanks for all ideas and comments,
Teodora Gancheva
I am developing a C# COM add-in for Outlook 2003 and 2007.
Recently the need for supporting multiple Outlook explorers arised and I am
currently implementing that. I used Ken Slovak's Outlook project
CSAddinTemplate as a sample - many thanks for the great template and all the
guidance in developing COM add-ins for Office .
All is working fine for Outlook 2007, but in Outlook 2003 (it's SP3) when I
start multiple explorers and then close them one by one, Outlook process
won't shutdown (OnDisconnection does not even get called). If I only have one
Outlook explorer, the process exits nicely.
I thought I had forgotten to release any references to Outlook objects, so I
disabled my add-in from the registry and left only the CSAddinTemplate to
load - this again led Outlook to not shut down. If I disable all add-ins,
Outlook closes without any issues. Also if I use File->Exit, and not the X
button, Outlook shuts down nicely, no matter if I have add-ins loaded and how
many explorers are opened.
Have you ever encountered such issues with Outlook 2003 - is it a bug or do
I need to re-check the code for unreleased references?
Many thanks for all ideas and comments,
Teodora Gancheva