Passing MSXML document to a activex control using JScript
Is there anyway that I can chaneg the passed IDispatch pointer to IXMLDocument or something like that.
Is there anyway that I can chaneg the passed IDispatch pointer to IXMLDocument or something like that.
I dont know whose IDispatch interface you have, but have you looked at IXMLDOMDocument of MSXML? http://windowssdk.msdn.microsoft.com/en-us/library/ms756987.aspx
If the IDispatch interface is of that object, you could just call QueryInterface for the required interface.