If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Help, Outlook2003 won't quit after call OnDisconnection?
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. -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...ddins/200909/1 |
Ads |
#2
|
|||
|
|||
Help, Outlook2003 won't quit after call OnDisconnection?
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. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "ryotyankou via OfficeKB.com" u48591@uwe wrote in message news:9bf4122e055ad@uwe... 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. -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...ddins/200909/1 |
#3
|
|||
|
|||
Help, Outlook2003 won't quit after call OnDisconnection?
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. Ken Slovak - [MVP - Outlook] wrote: 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. -- Message posted via http://www.officekb.com |
#4
|
|||
|
|||
Help, Outlook2003 won't quit after call OnDisconnection?
If under a VM the code quits cleanly then the problem is either some other
Outlook integration code that's running on the problem machine or hung instances of Outlook. Make sure task manager doesn't show an Outlook process running before trying again and see if Outlook quits cleanly. If not it's probably some other code, which you can find by a process of elimination. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "ryotyankou via OfficeKB.com" u48591@uwe wrote in message news:9c160fc274e14@uwe... 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. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MSN Email Quit | New Orleans Novice | Outlook Express | 2 | August 14th 07 04:36 AM |
Once Outlook was quit, it cannot be restarted | Oriolus | Outlook - Installation | 10 | July 25th 07 10:06 AM |
Outlook just quit working | Sharon | Outlook - Installation | 2 | June 4th 07 01:57 AM |
OE 6.x quit connecting. | New Orleans Novice | Outlook Express | 1 | June 1st 07 09:25 PM |
OH YES I THINK THEY DID CALL MR BUT I DID NOT TALK TO THEM MY MAMA SAI CALL HER BACK LATER CUZ SHE IS DOING SOMETHG RIGHT NOW WHY DID YOU CALL ME NO | THEIR IS ONLY ONE ME YES SIR | Outlook Express | 0 | February 25th 07 09:12 AM |