Crash Outlook

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

Crash Outlook
 
Anton Shchelokov




Posts: 14
Joined: 2020-10-28
For some reason, Outlook periodically falls. What can you suggest?
Posted 20 Nov, 2020 07:17:09 Top
Andrei Smolin


Add-in Express team


Posts: 18817
Joined: 2006-05-11
Hello Anton,

You should start with getting more info: error messages, call stacks, log records (if your add-in have a log), Event Viewer records. If the crashes are regular, you should find the pattern.

Id the crashes are sort of expected in these or those circumstances, you can comment our blocks of your code to find out if they relate to the issue.

I assume you've checked that the issue belongs to your add-in.


Andrei Smolin
Add-in Express Team Leader
Posted 20 Nov, 2020 07:37:33 Top
Anton Shchelokov




Posts: 14
Joined: 2020-10-28
crashes regularly after execution of OnADXAfterFormShow event
while not always, but somewhere in half of the cases
Posted 20 Nov, 2020 07:55:28 Top
Andrei Smolin


Add-in Express team


Posts: 18817
Joined: 2006-05-11
No generic suggestion exists. "After" is too dim and non-specific.

You need to find out when this occurs, in what scenario and in what environment. You should log the steps your code executes to locate the issue. Does Event Viewer contain anything related to the crashes?


Andrei Smolin
Add-in Express Team Leader
Posted 20 Nov, 2020 08:02:09 Top
Anton Shchelokov




Posts: 14
Joined: 2020-10-28
The last message we get in our log is that we exited the OnADXAfterFormShow method
Posted 20 Nov, 2020 08:31:51 Top
Andrei Smolin


Add-in Express team


Posts: 18817
Joined: 2006-05-11
Hello Anton,

Do you use threads? Async/await? DoEvents?

You can try commenting out blocks of your code in order to locate the issue.


Andrei Smolin
Add-in Express Team Leader
Posted 20 Nov, 2020 10:17:41 Top