I have created a outlook com addin using VSTO that reside in outlook. The plugin is basically displaying a msg to the user that a new mail has arrive and what is the content.
The plugin run fine when using pop account. The problem arise when the user is connected to the Exchange Server. When the event kick in on new mail arrive, the outlook would crash and thus causing the outlook to terminate.
What could be done to resolve this issue.. and what are the possible cause of this

What could the ERROR be
s_sd
Checker_Mac_Rohrle
Daniel de Lima
Nate_NC
Can you localize code that have problem I mean try-catch to show exceptions that happens or use debugger to catch place where problem occurs.
kramed
I'll try and look into this but I think that you would find more helpful information at the outlook forums. This seems to not be a VSTO specific issue.
http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.outlook.vba&lang=en&cr=US
victorj
I'm not sure, but strange crashes can be a result of bad multithreading. POP accounts may work faster, but I heard that Exchange accounts work much slower. This may be a problem.
Anyway, you will find better help from other people if you post here some part of your code that crashes.
Jim Lux
I have try the plugin on pop accound which work fine.
rstuven
Hi!
Are you sure there is no multithreading problems there