A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook takes long time to shutdown!!!



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 11th 07, 07:42 AM posted to microsoft.public.outlook.program_addins
MON205[_2_]
external usenet poster
 
Posts: 33
Default 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?
Ads
  #2  
Old September 11th 07, 03:07 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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?


  #3  
Old September 12th 07, 07:28 AM posted to microsoft.public.outlook.program_addins
MON205[_2_]
external usenet poster
 
Posts: 33
Default 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?



  #4  
Old September 12th 07, 02:49 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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++ !!!


  #5  
Old September 16th 07, 08:05 PM posted to microsoft.public.outlook.program_addins
Michael[_4_]
external usenet poster
 
Posts: 4
Default 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?

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook calendar takes long time retrive other users appoinments Rajan Outlook - Calandaring 0 February 5th 07 10:20 PM
Calendar takes a long time to load Rich Outlook - Installation 0 August 22nd 06 01:46 PM
takes a long time for the email editor to open gary Outlook - Installation 1 August 11th 06 09:56 AM
takes a very long time to open my inbox kingofdiamonds_ny Outlook Express 2 May 19th 06 01:43 AM
forward button takes extremely long time to change screen sasamson Outlook - Installation 0 March 14th 06 06:06 AM


All times are GMT +1. The time now is 11:40 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-2025 Outlook Banter.
The comments are property of their posters.