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
 
Top