Outlook 2000 sometimes remains in memory after calling Quit()

  • Thread starter Dieter Verlaeckt
  • 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
 
K

Ken Slovak - [MVP - Outlook]

Make sure all your Outlook obects are released and see if NameSpace.Logoff
helps before .Quit.
 
D

Dieter Verlaeckt

I modified my code so that the Quit() is the absolute last thing that
happens, after NameSpace.Logoff etc, now it works.

Thx

Dieter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top