DataEventArgs Bug in RTW

Topics: CAB & Smart Client Software Factory
Nov 17, 2005 at 6:37 AM
originally posted by: DLorenz

I'm using VB.NET and an odd error is happening. I can pass classes, strings, and objects through DataEventArgs just fine. However, if I try to pass in a primitive type, like a boolean, it will crash saying that it can't covert... Well, this is the error I get:

Object of type 'Microsoft.Practices.CompositeUI.Utility.DataEventArgs`1[System.Boolean]' cannot be converted to type 'Microsoft.Practices.CompositeUI.Utility.DataEventArgs`1[System.Boolean]'.

I'm pretty sure it isn't a versioning issue because I've made sure the correct DLLs are there 4 times, now. Plus, I wouldn't think the other DataEventArgs passes would work if it was a versioning issue.

For now, I just passed an object instead of a boolean, and it works like it should.