Re: Crash when trying to QueryService IID_ISimpleDOMDocument or IID_ISimpleDOMNode with FF4 RC1 on Windows 7 SP1 64 bits

Sylvain <[email protected]> Fri, 11 Mar 2011 22:46:10 -0800 (PST)
Newsgroups gmane.comp.mozilla.accessibility
Organization http://groups.google.com
Message-ID <bfcd02dc-4ed8-412a-a6d9-9f86079f72a9@q14g2000vbf.googlegroups.com>
Hi Alex,

I'm not sure since both my program and Firefox are 32 bits, only the
system is 64.

Sylvain

On 12 mar, 03:32, Alexander Surkov <[email protected]> wrote:
> Hi, Sylvain.
>
> Perhaps you get the bughttps://bugzilla.mozilla.org/show_bug.cgi?id=606468.
>
> Thank you.
> Alex.
>
> On Sat, Mar 12, 2011 at 6:58 AM, Sylvain <[email protected]>wrote:
>
>
>
> > Hi,
>
> > My code works fine with FF4 RC1 on Windows XP SP3, but crashes on
> > Windows 7 SP1 Family Premium 64 bits :
>
> >        VARIANT vtStart,vtResult;
> >        vtStart.vt=VT_I4;
> >        vtStart.lVal=CHILDID_SELF;
> >        hr=pAccessible->accNavigate(0x1009,vtStart,&vtResult); //
> > NAVRELATION_EMBEDS = 0x1009
> >        if (FAILED(hr)) ...
> >        if (vtResult.vt!=VT_DISPATCH) ...
> >        pIDispatch=(IDispatch*)vtResult.lVal;
> >        if (pIDispatch==NULL) ...
> >        hr=pIDispatch->QueryInterface(IID_IServiceProvider,
> > (void**)&pServiceProvider);
> >        if (FAILED(hr)) ...
> >        hr=pServiceProvider->QueryService(refguid,IID_ISimpleDOMDocument,
> > (void**) &pSimpleDOMDocument);
>
> > My program crashes when calling QueryService. I also tried to call
> > QueryService on the first document child (which is a <BR> object),
> > result is the same.
>
> > It looks like there is a problem with IID_ISimpleDOMDocument and
> > IID_ISimpleDOMNode interfaces... So I tried regsvr32.exe
> > accessiblemarshal.dll on cmd.exe of administrator mode, but it still
> > crashes.
>
> > Does anybody have the same problem? Any idea?
>
> > Thanks!
>
> > - Sylvain
> > _______________________________________________
> > dev-accessibility mailing list
> > [email protected]
> >https://lists.mozilla.org/listinfo/dev-accessibility