On Thu, 26 Apr 2007 17:43:29 +0200, "Iver Odin Kvello" iok@selvaag.no wrote:
Only for certain objects, but I can reproduce it fairly easily:
RDNZL-USER(5): (import-types "System" "Net.WebClient") NIL RDNZL-USER(6): (setf w (new "System.Net.WebClient")) #<RDNZL::CONTAINER System.Net.WebClient #xda75ac8> RDNZL-USER(7): (cast w "System.Object") Error: .NET error (System.InvalidCastException): Object must implement IConvertible. [condition type: RDNZL-ERROR]
I didn't think of it as an issue; I just assumed it was some sort of .Net restriction.
Yes, it is - I checked the .NET documentation. Thanks for the info.