I have a Windows Forms sample app that we use to illustrate drag and drop functionality with our external application. The sample app contains two list boxes, a DragSource and a DropTarget. The DragSource is populated with data that can be dragged and dropped
to the DropTarget, or to our external application. The sample app is written in Visual Studio 2008 using a Windows Forms Application that links to a legacy C++ library.
What works:
1. Dragging and dropping between the two listboxes in the same instance
2. Dragging and dropping between the sample app and our external application
What doesn't work and hope to get your feedback on:
1. Dragging and dropping between the sample app and another instance of the sample app fails to read data from the MemoryStream and indicates the following exception: "A first chance exception of type 'System.Runtime.Remoting.RemotingException' occurred
in mscorlib.dll"
2. Dragging from the DragSource indicates the following exceptions although the DropTarget and our external application are able to read the stream and display the information.
A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in System.Windows.Forms.dll; A first chance exception of
View Complete Post