Outlook stays in memory

Add-in Express™ Support Service
That's what is more important than anything else

Outlook stays in memory
 
Alessandro Ghezzi




Posts: 11
Joined: 2005-11-22
Hello all,

I'm trying to develop an add-in for Outlook but I have a problem: when my add-in is loaded and I exit from Outlook (2003, in this case), it stays in memory.
Moreover, if my add-in contain an ExplorerCommandBar and an InspectorCommandBar, I found 2 instances of Outlook loaded.

I'm using Add-in express version 2.3 on Delphi 6 professional, Windows 2000 SP3 and Office XP.
I tried with my own add-in and also with MyFirstOlAddIn example, and the behaviour is the same

What can I do, or what should I check?
Posted 22 Nov, 2005 04:05:30 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Alessandro,

I have just retested our MyFirstOlAddIn example. Works fine in my case.
Windows XP SP2
Delphi 6 Enterprise Update Pack 2
Add-in Express V 2.3.0.236
Office XP SP3 and Office 2003 SP2

Could you please indicate what Service Packs for MS Office you have installed. And can you send me your code for testing?

Posted 22 Nov, 2005 08:31:39 Top
Alessandro Ghezzi




Posts: 11
Joined: 2005-11-22
Hi Dimitry,

I use Outlook 2002 (10.2627.6714) SP3.
My add-in is very small and simple: an AddInModule containing one TadxOlExplorerCommandBar and a TadxOlInspectorCommandBar, each containing only one CommandBarButton.
By the way, I have the same problem with MyFirstOlAddIn example (\Add-in Express 2\QDemo\OutlookAddIn), so you should have the code.
Anyway, if you need my code, I can send it to you
Posted 22 Nov, 2005 08:44:17 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Alessandro,

How long do you wait before killing the Outlook process in the Task Manager? Sometimes Outlook closes slowly because it is receiving email.

Send me please the compiled dll of our MyFirstOlAddIn example (zip it please). I will test it on our test PCs and let you know about the results.

Posted 22 Nov, 2005 09:59:28 Top
Alessandro Ghezzi




Posts: 11
Joined: 2005-11-22
Hi Dimitry,

Outlook remains open until I kill process in the Task Manager, I waited for over one hour.
If you give me an email address I'll send zipped dll to you
Thank you
Posted 22 Nov, 2005 11:16:38 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Alessandro,

I have just emailed you. Check your mail box.

Posted 22 Nov, 2005 11:28:34 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hello Alessandro,

I got your DLL, thanks. Could you please rebuild the DLL with the "Build with runtime packages" option turned OFF (see the Project -> Options -> Packages dialog box) and resend the DLL to me again. The point is that our test PCs do not have Delphi installed at all.

Also, on my work PC the add-in you sent works fine, so I have some more questions:
Do you use MS Word as a default email editor? Do you have other COM Add-ins installed in your Outlook?

Posted 23 Nov, 2005 06:55:31 Top
Alessandro Ghezzi




Posts: 11
Joined: 2005-11-22
Do you use MS Word as a default email editor?


no, and also Outlook is not my default email client (I use Outlook Express)

Do you have other COM Add-ins installed in your Outlook?


No, I tried to install only your Add-in
Posted 24 Nov, 2005 05:46:54 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Alessandro,

I received a new DLL from you and it works on our test PC with Outlook XP SP3. I will test our demo project under a fresh copy of Windows 2000 and Outlook 2003. Could you please give me as much information as possible about your software installed. I think you'd better send this information via email.

Posted 24 Nov, 2005 06:58:40 Top
Alessandro Ghezzi




Posts: 11
Joined: 2005-11-22
Thnak you. I replied by email
Posted 24 Nov, 2005 09:02:22 Top