Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Drag Outlook 2013 mail to c# wpf/Forms

$
0
0

Hi,

Hope this is correct forum.

I've made some years ago a program using the OutlookDataObject to drag and drop a mail from outlook to a treeview in a stand alone (not office add in) C#/WPF program. It worked fine in Outlook 2010 (and the outlook before 2010), but after I installed Outlook 2013, it won't work anymore. In the line below, I get the following exception:

IntPtr fileDescriptorPointer = (IntPtr)((int)fileGroupDescriptorAPointer + Marshal.SizeOf(fileGroupDescriptor.cItems));

"A first chance exception of type 'System.OverflowException' occurred in mscorlib.dll"

Anyone know of a sample program demoing the drag and drop from 2013.

best regards Jesper.



Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>