![]() |
Outlook takes long time to shutdown!!!
Hello,
When I close Outlook with my add-in, it takes a long time until the Outlook process ended. I handled the OnCloseExplorer(), and I freed my explorer pointer. But I noticed that it takes about 5-6 seconds between leaving the OnCloseExplorer() and entering the ::OnDisconnection() callback. How can I fix this? |
Outlook takes long time to shutdown!!!
If this is managed code that can be a function of the garbage collector and
the general slowness of managed code. If it's not managed code then possibly some other addin is taking time or your release code is taking too much time. Hard to say with the information you've provided. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "MON205" wrote in message ... Hello, When I close Outlook with my add-in, it takes a long time until the Outlook process ended. I handled the OnCloseExplorer(), and I freed my explorer pointer. But I noticed that it takes about 5-6 seconds between leaving the OnCloseExplorer() and entering the ::OnDisconnection() callback. How can I fix this? |
Outlook takes long time to shutdown!!!
No. Not managed code.
I'm using C++ !!! "Ken Slovak - [MVP - Outlook]" wrote: If this is managed code that can be a function of the garbage collector and the general slowness of managed code. If it's not managed code then possibly some other addin is taking time or your release code is taking too much time. Hard to say with the information you've provided. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "MON205" wrote in message ... Hello, When I close Outlook with my add-in, it takes a long time until the Outlook process ended. I handled the OnCloseExplorer(), and I freed my explorer pointer. But I noticed that it takes about 5-6 seconds between leaving the OnCloseExplorer() and entering the ::OnDisconnection() callback. How can I fix this? |
Outlook takes long time to shutdown!!!
Then start checking to see what's taking all that time in your code, a set
of profiler runs maybe. There's no way to tell what's going on from the information you've provided. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "MON205" wrote in message ... No. Not managed code. I'm using C++ !!! |
Outlook takes long time to shutdown!!!
Do you have large PSTs or OSTs? If yes, this could have something to do
with the White Space Cleaning Task of Outlook on closing time.... What if you try it with a fresh file of 300k? Does Outlook close quicker? -Michael MON205 schrieb: Hello, When I close Outlook with my add-in, it takes a long time until the Outlook process ended. I handled the OnCloseExplorer(), and I freed my explorer pointer. But I noticed that it takes about 5-6 seconds between leaving the OnCloseExplorer() and entering the ::OnDisconnection() callback. How can I fix this? |
All times are GMT +1. The time now is 11:16 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com