Ivan Petrovic
Posts: 11
Joined: 2011-11-15
|
Hello,
We have a Outlook plug-in with following components:
TAddInModule = class(TadxCOMAddInModule)
adxOutlookAppEvents1: TadxOutlookAppEvents;
adxOlExplorerCommandBar1: TadxOlExplorerCommandBar;
ImageList1: TImageList;
adxOlInspectorCommandBar1: TadxOlInspectorCommandBar;
adxRibbonTab1: TadxRibbonTab;
DLL is registered fine, when we open outlook 2003 OIExplorerCommandBar works perfectly but when we click on New message we get error
"Error: the add-in has fired exception. Unspecified Error"
Same plugin works fine in Outlook 2007, Outlook 2010 x64 and x86 both.
Any idea how to start debuginning or catching exception? I added some Shwomessage windows to detect position of exepction but it seems that it raises before
procedure TAddInModule.adxOlInspectorCommandBar1BeforeAdd(
CmdBar: TadxOlInspectorCommandBar; Inspector: _Inspector;
which would be the only thing that is done befure New message window is shown.
Thanks,
Ivan |
|
Andrei Smolin
Add-in Express team
Posts: 18817
Joined: 2006-05-11
|
Hello Ivan,
I suggest debugging in a 32-bit Outlook (since the Delphi IDE is 32-bit). Compile the project to a "short-name" path such as 'd:\myAddin.dll' to bypass the well-known problem with "long" path in Delphi. If the issue occurs in Add-in Express code, can you please send uas your project (or any other project in which the issue is reproducible)? Please find the support email address in {Add-in Express installation folder}\readme.txt. And make sure your email contains a link to this topic.
Andrei Smolin
Add-in Express Team Leader |
|