Re: Converting IDOMNode to IDOMHTMLInputElement fails

2012-11-20 Thread Kyle Huey
On Tue, Nov 20, 2012 at 3:54 AM, Pelota wrote: > The real problem was using an old 17.0 Gecko SDK. With SDK 17.0b6 there is > no problem. > > Thx for fast help, Kyle! > As Neil alludes to, this is actually our fault for changing the interfaces during beta. We've undone that now. The released ve

Re: Converting IDOMNode to IDOMHTMLInputElement fails

2012-11-20 Thread Neil
Kyle Huey wrote: The IID of nsIDOMHTMLInputElement changed from Gecko 16 to Gecko 17. You are probably compiling against headers for Gecko 16. How does bug 813264 affect this? -- Warning: May contain traces of nuts. ___ dev-platform mailing list d

Re: Converting IDOMNode to IDOMHTMLInputElement fails

2012-11-20 Thread Pelota
The real problem was using an old 17.0 Gecko SDK. With SDK 17.0b6 there is no problem. Thx for fast help, Kyle! ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Converting IDOMNode to IDOMHTMLInputElement fails

2012-11-19 Thread immonikolausneuhaus
Additional infos: - Tests on Windows 7 - Firefox 17.0 - do_QueryInterface(elementNode, &error); yields NS_ERROR_NO_INTERFACE (0x80004002). Why didn't I get here the interface since Gecko 17? ___ dev-platform mailing list dev-platform@lists.mozilla.org h

Re: Converting IDOMNode to IDOMHTMLInputElement fails

2012-11-19 Thread Kyle Huey
The IID of nsIDOMHTMLInputElement changed from Gecko 16 to Gecko 17. You are probably compiling against headers for Gecko 16. - Kyle On Nov 19, 2012 7:10 AM, "Pelota" wrote: > I have an IDOMNode > nsCOMPtr_IDOMNode elementNode; > > from which I can get the node name without problems ("INPUT

Converting IDOMNode to IDOMHTMLInputElement fails

2012-11-19 Thread Pelota
I have an IDOMNode nsCOMPtr_IDOMNode elementNode; from which I can get the node name without problems ("INPUT", "FIELDSET", ...) nsString strName; elementNode->GetNodeName(strName); Since Gecko 17 I have the problem, that I cannot get the HTML Input Element Interface for this node: