Clipboard.GetData is always returning null

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

My objects seem to be put into the clipboard ok and Clipboard.ContainsData()
is returning true but when I GetData() the object returned is null. What am
I doing wrong??
 
I'm putting two different types of objects in the clipboard but both are
marked Serializable.
 
The objects I'm trying to put in the clipboard are remoted objects (they
inherit MarshalByRefObject). Could that be the problem even though they are
also marked with the Serializable attribute? Don't objects HAVE to be
serializable to be remotable??
 
Back
Top