T
Terje Krång
Hi guys,
A lot of you are prolly getting tired of this question, and will ask me to
take a look at the ItemsCB example or something. Believe me, I've done that.
And I have tried GC.WaitForPendingFinalizers() and every other tip I've come
across. It doesn't help, no matter what I do, Outlook will not quit
properly. It does quit, but consequently when having the add-in loaded,
Outlook uses about 6-7 seconds to quit. When the add-in is not loaded, it
takes less than 1 second.
To see an example of the code, take a look at the add-in described on the
following URL.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnout2k2/html/odc_oladdinvbnet.asp
.... or open this example project: (Visual Studio 2003)
http://www.dreamscape.no/OutlookAddInTest.zip
Now, does anyone have an explanation on how to get rid of this problem? What
makes it even worse is that when trying to start Outlook (2003) when closing
the previous instance, I get a message saying something like "The operation
failed.".
Best Regards,
Terje Krång, Junglemap
(e-mail address removed)
A lot of you are prolly getting tired of this question, and will ask me to
take a look at the ItemsCB example or something. Believe me, I've done that.
And I have tried GC.WaitForPendingFinalizers() and every other tip I've come
across. It doesn't help, no matter what I do, Outlook will not quit
properly. It does quit, but consequently when having the add-in loaded,
Outlook uses about 6-7 seconds to quit. When the add-in is not loaded, it
takes less than 1 second.
To see an example of the code, take a look at the add-in described on the
following URL.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnout2k2/html/odc_oladdinvbnet.asp
.... or open this example project: (Visual Studio 2003)
http://www.dreamscape.no/OutlookAddInTest.zip
Now, does anyone have an explanation on how to get rid of this problem? What
makes it even worse is that when trying to start Outlook (2003) when closing
the previous instance, I get a message saying something like "The operation
failed.".
Best Regards,
Terje Krång, Junglemap
(e-mail address removed)