Alex Milner
Guest
|
Hi guys,
On persistent mail deleting (Shift-Del) I see internal exception:
System.NullReferenceException: 'Object reference not set to an instance of an object.'
mscorlib.dll!System.Runtime.InteropServices.Marshal.ReleaseComObject(object o) Unknown
AddinExpress.MSO.2005.dll!AddinExpress.MSO.Globals.ReleaseComObject(object obj) Unknown
AddinExpress.MSO.2005.dll!AddinExpress.MSO.ADXOlItemsEvents_12_SinkHelper.AddinExpress.MSO.IFolderEvents12.BeforeItemMove(object item, object moveTo, ref bool cancel)
This is only happen when OutlookItemEvents or OutlookFoldersEvents (from samples) connected.
Probably this is bug in "AddinExpress.MSO.2005.dll":
void IFolderEvents12.BeforeItemMove(object item, object moveTo, ref bool cancel)
{
...
finally
{
Globals.ReleaseComObject(item);
Globals.ReleaseComObject(moveTo);
}
}
Can you investigate please? :) |
|
Andrei Smolin
Add-in Express team
Posts: 19138
Joined: 2006-05-11
|
Hello Alex,
I've created a test project that connects an ADXOutlookFoldersEvents to Inbox; the ADXOutlookFoldersEvents doesn't handle any event. Shift-deleting an item in that folder doesn't produce an issue. Do I need to change something in the project?
Also, please send me the complete version string that you can find near the About Outlook button; find the button on the page File | Office Account. In my case, the version string is: Version 2107 (Build 14228.20204 Click-to-Run.
Andrei Smolin
Add-in Express Team Leader |
|
Andrei Smolin
Add-in Express team
Posts: 19138
Joined: 2006-05-11
|
|
Alex Milner
Guest
|
Hi Andrei,
My Outlook version exactly as yours.
I've created my own test project. Can you please email to me (address in my profile). I'll reply to you with test project and how to reproduce issue - thanks!
Alex. |
|
Andrei Smolin
Add-in Express team
Posts: 19138
Joined: 2006-05-11
|
Hello Alex,
Will send you an email in a moment.
Andrei Smolin
Add-in Express Team Leader |
|