
VBScript doesn't see C# object as object
Re-posted to avoid the VB6 group flamings
_______________________________
In VBScript I request a class (in this case, System.Xml.XmlDocument) from C#
via COM. C# passes it as type "object" from a C# method intended to be
generic, and it's assigned to a VBScript variant (since VBScript doesn't
support types).
VBScript now says it's not an object, IsObject() evaluates to false and
calling its properties/methods don't work. But when passed back to C# it is
seen as the class type that was given to it (in this case,
System.Xml.XmlDocument).
Is there any way to get VBScript to see this variant as the full-blown C#
object that it is?
Jon