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??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top