I am writing a Outlook COM Add In using Visual Studio 2008 and VSTO. If an exception goes unhandled in the add in, I would like it to trigger Windows Error Reporting (WER). Our company has access to WinQual so that we can get reports of WER reports from users that occur in our program. Is there some way to do this?
From what I can tell, this isn't possible, but wanted to check to see if there was a way. WER is only triggered when an application generates an unhandled exception. An Outlook Add In run in Outlook and Outlook has exception handlers around the calls to COM Add In to protect against a COM Add In causing Outlook to crash. Since Outlook doesn't crash, WER doesn't get triggered.