Hi, ken, i tested my addin in VMware, outlook can quit normally. It seems
that the problem is caused by some other things, i remembered that i killed
the outlook.exe process in task manager manually(Atl + F4) while it quiting
for several times. Maybe this caused the outlook out of its manner.
> Then something in your code is not released if Outlook isn't exiting, and it
> does when your code isn't running.
> Check all of your Outlook objects to make sure they are being released, as
> well as any Office objects. Make sure any timers or threads you started are
> closed. If using managed code you may need to call
> Marshal.ReleaseComObject() on your objects, try adding calls to GC.Collect()
> and GC.WaitForPendingFinalizers() if using managed code.
> >I write a addin, it have inspector wrapper and explorer wrapper. I release
> > the resource i allocated, but after run codes in OnDisconnection,
> > outlook's
> > process is still in task manager. Tray icon already disappeared. What
> > should
> > i check in my codes? please help.