inheritance in active x interfaces
Posted: Fri Aug 07, 2009 12:07 pm
by CarlRanson >> Tue, 7 May 2002 22:16:35 GMT
Hi All,
Just trying to import the XML 4 active x library and I've come up against a snag.
As far as i can tell, Jade doesn't seem to deal with inheritance in the activeX interfaces. They are all descended from IDispatch.
ie. It doesnt know that IXMLDOMCDATASection inherits from IXMLDOMText which inherits from IXMLDomCharacterData which inherits from IXMLDOMNode etc.
This, of course, breaks down when you try to pass a descendant (say IXMLDomText) into a function that expects and IXMLDOMNode.
Does Jade provide some workaround that im just missing here?
CR
Hi All,
Just trying to import the XML 4 active x library and I've come up against a snag.
As far as i can tell, Jade doesn't seem to deal with inheritance in the activeX interfaces. They are all descended from IDispatch.
ie. It doesnt know that IXMLDOMCDATASection inherits from IXMLDOMText which inherits from IXMLDomCharacterData which inherits from IXMLDOMNode etc.
This, of course, breaks down when you try to pass a descendant (say IXMLDomText) into a function that expects and IXMLDOMNode.
Does Jade provide some workaround that im just missing here?
CR