Do you track the Explorer::Close event (where you must dereference the
explorer)?
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Matt Fletcher" <(E-Mail Removed)> wrote in message
news:buggh9$qna$(E-Mail Removed)...
> If I cache an _ExplorerPtr (obtained from Application::ActiveExplorer) in
my
> addin, Outlook takes significantly longer than normal to shutdown after
> closing its GUI - and if Outlook is restarted before it has completely
> shutdown, the new instance will abort with no warning (though it will call
> IDTExtensibility2::OnBeginShutdown and IDTExtensibility2::OnDisconnection,
> but not IDTExtensibility2::OnConnection). Is this a known bug, or a
problem
> with my code? (I have written a test addin using the VS.Net Addin Wizard,
> and it appears to exhibit the same behaviour as my addin).
>
>