Mark Stevens
Posts: 41
Joined: 2014-09-15
|
I have an Outlook add-in which works fine except that I can't seem to get exceptions to go through madExcept.
I notice that the onError event is always executed in these instances but how do I pass this across to madshi?
Do I have to turn off the exception handling within adx or is there a way to pass any exceptions to madExcept?
I did try Eurekalog with the same level of success but madshi is my preference if it works in this setup.
Thanks |
|
Mark Stevens
Posts: 41
Joined: 2014-09-15
|
Actually I think I figured it out myself.
I just did this:
procedure TAddInModule.adxCOMAddInModuleError(const E: Exception; var Handled: Boolean);
begin
Handled := True;
madExcept.HandleException;
end;
Seems to work ok, although I'm not 100% sure if I should set the "Handled" to True? |
|
Andrei Smolin
Add-in Express team
Posts: 18817
Joined: 2006-05-11
|
Hello Mark,
It's correct. Setting Handled := True prevents Add-in Express from showing an error message.
Andrei Smolin
Add-in Express Team Leader |
|