Outlook 2000 sometimes remains in memory after calling Quit()

  • Thread starter Thread starter Dieter Verlaeckt
  • Start date Start date
D

Dieter Verlaeckt

Hi

I'm developping a COM Addin for Outlook (2000/XP/2003) in C++.

From my addin I am launching an installer to update the addin. After
launching the installer, I close Outlook by calling Application->Quit() to
avoid problems during the installation. This works perfectly on Outlook 2002
and Outlook 2003, but Outlook 2000 sometimes remains in memory after calling
Quit() (it is invisible, but OUTLOOK.EXE is still in the process list).

Does anyone know a solution to this problem?

TIA

Dieter
 
Make sure all your Outlook obects are released and see if NameSpace.Logoff
helps before .Quit.
 
I modified my code so that the Quit() is the absolute last thing that
happens, after NameSpace.Logoff etc, now it works.

Thx

Dieter
 
Back
Top