Drop that zero…

30 November 2006

Sometimes the .NET Clipboard.GetData() method returns a MemoryStream full of zeros, even when you set it to something else just microseconds before, and even though nothing else is running that you’d expect to be putting stuff on the clipboard. In some of the unit tests that we have at Resolver, this happens as often as once in fifty calls – which can cause problems when you’re running the tests on an integration machine all day, every day.

We were looking around on the ‘net, trying to fix this, when we discovered that Google is a Vanilla Ice fan :-)