MailItem mailItem; ... InspectorEvents_10_Event inspectorEvents = mailItem.GetInspector; inspectorEvents.Close += delegate {.....}; //Exception occurs
Marshal.ReleaseComObject
MailItem mailItem; CloseEvent closeEvent; ... InspectorEvents_10_Event inspectorEvents = mailItem.GetInspector; closeEvent = inspectorEvents.Close; closeEvent += delegate {.....};
Hi, I am facing the same problem it is really difficult to debug it because the test case is not unique. did you find a solution? I really appreciate your help in advance.Here is my mailbox:1424870395@qq.com
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)