Quit from outlook

M

Mousy

I'm implementing a add-in for Outlook 2000 by create
shared add-in project using Visual C#.

The add-in COM works fine. But when I close Outlook by
click Exit from File menu, the outlook is still in memory.
Microsoft support file suggests write an explorer or
inspector event handler to set all the references to null.
But how to do it in Visual C#?

Any response is appreciated.
 
T

Tom Rizzo [MSFT]

Even though you may kill them all, they may not have been garbage collected
yet. You will want to look at GC.WaitforPendingFinalizers and then
GC.Collect

Tom
 

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