Plugin crash on Outlook 2010 close

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

Plugin crash on Outlook 2010 close
 
Rapha?l Emourgeon


Guest


Hello,

Our plugin (compiled with addin express 2009) crash on close on outlook 2010 and is then desactivated on next start. Do you think that using addin express 2010 could solve this issue (there is no problem with outlook 2003 and 2007) ?

Regards
Posted 15 Aug, 2011 04:52:46 Top
Eugene Astafiev


Guest


Hi Rapha?l,

Please note that only Beta support for Outlook 2010 was introduced in Add-in Express 2009. Moreover, Outlook 2010 x64 is not supported by Add-in Express 2009.

Anyway, please take a look at the http://www.add-in-express.com/docs/net-tips.php#addin-not-work section in the online documentation.
Posted 15 Aug, 2011 07:16:10 Top
osaris


Guest


Ok so upgrading to lastest add-in express could fix my problem ?

"The add-in doesn't work" section isn't really helpful as there no error, my plugin is disabled but I don't know why :-(
Posted 15 Aug, 2011 07:48:00 Top
Eugene Astafiev


Guest


Hi Rapha?l,

Most probably an exception is occurred in the code of your add-in. That is why the host application disabled your add-in (and you don't see any error as a rule). If I am on the right avenue the upgrade will not help.

Please pay a special attention to the http://www.add-in-express.com/docs/net-tips.php#disabled-items and http://www.add-in-express.com/docs/net-tips.php#exception-startup sections in the online documentation.
Posted 15 Aug, 2011 08:28:40 Top
osaris


Guest


Ok but my plugin works well with outlook 2003/2007 (same code) and it is not disabled on every computer. Maybe I can enable a log file or something to help me diagnose the problem (I'm unable to reproduce it locally with Office 2010 !).
Posted 15 Aug, 2011 08:34:20 Top
Eugene Astafiev


Guest


Posted 15 Aug, 2011 09:32:37 Top
osaris


Guest


VCL version (that the reason why I've posted in VCL forum ;))
Posted 15 Aug, 2011 09:37:19 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Rapha?l,

It is quite difficult to diagnose and fix a problem that is not reproduced on your test machine. I would suggest to accumulate more information about affected PCs (operating system version and bitness, Outlook version including build number, other COM add-ins that are installed in Outlook) and try to reproduce the issue on your side.

As for the code review, I would suggest drawing attention to the "shutdown" event handlers such as OnOLExplorerClose, OnOLInspectorClose, OnDestroy and the code of your finalization sections.

Also, please have a look at the following article, it may be useful:
http://msdn.microsoft.com/en-us/library/ee720183.aspx

If you can send your project to us, we could test it on our test machines, probably we would be able to reproduce the crashing.
Posted 15 Aug, 2011 10:38:54 Top