getElementsByName

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
DaveDrouin
Newbie
Newbie
Posts: 2
Joined: Sat Mar 06, 2010 1:11 pm

getElementsByName

Post by DaveDrouin »

static HRESULT WINAPI HTMLDocument3_getElementsByName(IHTMLDocument3 *iface, BSTR v,
IHTMLElementCollection **ppelColl)
{
HTMLDocument *This = HTMLDOC3_THIS(iface);
FIXME("(%p)->(%s %p)\n", This, debugstr_w(v), ppelColl);
return E_NOTIMPL;
}

I'm trying to use an application that has an embedded IE browser component and unfortunately the html that's rendered in there makes heavy use of the dreaded getElementsByName method. Can someone please for the love of Hercules implement this method in wine. Thanks you very much.
James McKenzie

getElementsByName

Post by James McKenzie »

DaveDrouin wrote:
static HRESULT WINAPI HTMLDocument3_getElementsByName(IHTMLDocument3 *iface, BSTR v,
IHTMLElementCollection **ppelColl)
{
HTMLDocument *This = HTMLDOC3_THIS(iface);
FIXME("(%p)->(%s %p)\n", This, debugstr_w(v), ppelColl);
return E_NOTIMPL;
}

I'm trying to use an application that has an embedded IE browser component and unfortunately the html that's rendered in there makes heavy use of the dreaded getElementsByName method. Can someone please for the love of Hercules implement this method in wine. Thanks you very much.

As it has been stated many times here, if you want it fixed, you have to
fix it yourself or find a developer who is willing to do so. Developers
may have looked at this, figured it was too difficult or no one has the
knowledge to properly implement this. YOU can help, read how to submit
patches to the Wine project or you can attempt to build a test case
(remember we cannot have any contact with Microsoft source or code
derived through reverse coding Microsoft dlls) from publicly available
information. This is what I'm doing for the three richedit functions
I need to run programs that I routinely use.

Further discussion on this matter should be in the Wine Developer's lists.

James McKenzie
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Post by lahmbi5678 »

Have you tried something like "winetricks ie6" already? If not, use a new WINEPREFIX, or backup/move your old .wine folder, install the software in the new WINEPREFIX, and try winetricks.
DaveDrouin
Newbie
Newbie
Posts: 2
Joined: Sat Mar 06, 2010 1:11 pm

Post by DaveDrouin »

Hi lahmbi5678 - yep I tried earlier on and it didn't do anything to resolve the issue. I'll try it again but still the main thing is that mshtml.dll needs to do something when getElementsByName is called and the native one in wine is unimplemented presently. Of course I could always go and figure out what the heck this code should do and try to come up with a solution - maybe someday - perhaps by seeing what was done for getElementByID for starters. But having no clue about the code in general and writing C for me is as enjoyable as walking on a bed of hot coals. I'm just presently hoping someone with a clue could and the desire to could eventually implement it. I'll give it a whirl in a decade or so once I'm done working 80 hours a week on other programming tasks.
Locked