Re: Not able to get nsIDOMHTMLDocument from nsIDOMDocument
mads <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
In the above code the problamatice line that I mentioned nsIDOMHTMLDocumentPtr htmlDocument = do_QueryInterface(domDocument) ; // This is not working and getting null reference modified to nsIDOMHTMLDocumentPtr htmlDocument = do_QueryInterface(domDocument, &result) ; // This is not working and getting null reference when I checked the result I am getting the exception Components.results.NS_ERROR_NO_INTERFACE is thrown, which maps to the error code number 2147500034. Did I miss some thing here to assign it properly. Please help in this, I am new to this coding. -- View this message in context: http://www.nabble.com/Not-able-to-get-nsIDOMHTMLDocument-from-nsIDOMDocument-tp21079467p21127962.html Sent from the Mozilla - DOM mailing list archive at Nabble.com.