Accessibility on x64 Firefox- Namoroka

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Accessibility on x64 Firefox- Namoroka

pradeep-18
Hi,
I successfully do queryservice (IAccessible) to get the ISimpleDomNode
when my OS is 32 bit and Firefox is 32 bit. But with Firefox x64 -
Namoroka. The following queryService call fails :

                IServiceProvider *pServProv = NULL;
                pCAcc->QueryInterface(IID_IServiceProvider, (void**)&pServProv);
                ISimpleDOMNode *pNode = NULL;
                if (pServProv)
                {
                        const GUID refguid = {0x0c539790, 0x12e4, 0x11cf, 0xb6, 0x61,
                                                                        0x00, 0xaa, 0x00, 0x4c, 0xd6, 0xd8};
                        HRESULT hresult = pServProv->QueryService(refguid,
IID_ISimpleDOMNode,
                                                                                                                   (void**)&pNode);

                        // fails
                       .........
                }
I found that the ISimpleDomNode has entries only in WOW part of
registry. My application is x64 so it could be looking not in WOW part
of registry but in the main section of registry meant for x64 apps.
that could be the reason its is failing. Any alternate suggestions to
fix this? Is ISimpleDomNode interface going to have entries in x64
part of registry in future?

Thanks,
Pradeep
_______________________________________________
dev-accessibility mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-accessibility
Reply | Threaded
Open this post in threaded view
|

Re: Accessibility on x64 Firefox- Namoroka

Alexander Surkov
On May 20, 4:41 pm, pradeep <[hidden email]> wrote:

> Hi,
> I successfully do queryservice (IAccessible) to get the ISimpleDomNode
> when my OS is 32 bit and Firefox is 32 bit. But with Firefox x64 -
> Namoroka. The following queryService call fails :
>
>                 IServiceProvider *pServProv = NULL;
>                 pCAcc->QueryInterface(IID_IServiceProvider, (void**)&pServProv);
>                 ISimpleDOMNode  *pNode = NULL;
>                 if (pServProv)
>                 {
>                         const GUID refguid = {0x0c539790, 0x12e4, 0x11cf, 0xb6, 0x61,
>                                                                         0x00, 0xaa, 0x00, 0x4c, 0xd6, 0xd8};
>                         HRESULT hresult = pServProv->QueryService(refguid,
> IID_ISimpleDOMNode,
>                                                                                                                    (void**)&pNode);
>
>                         // fails
>                        .........
>                 }
> I found that the ISimpleDomNode has entries only in WOW part of
> registry. My application is x64 so it could be looking not in WOW part
> of registry but in the main section of registry meant for x64 apps.
> that could be the reason its is failing. Any alternate suggestions to
> fix this? Is ISimpleDomNode interface going to have entries in x64
> part of registry in future?
>
> Thanks,
> Pradeep

Unfortunately I don't have any idea what can be wrong. I filed bug
https://bugzilla.mozilla.org/show_bug.cgi?id=567315 for this.

Thanks.
Alex.
_______________________________________________
dev-accessibility mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-accessibility
Reply | Threaded
Open this post in threaded view
|

Re: Accessibility on x64 Firefox- Namoroka

Makoto Kato-3
In reply to this post by pradeep-18
Hi predeep.


Could you try regsvr32.exe AccessibleMarshal.dll on cmd.exe of
administrator mode before that?

If you use x64 version of Firefox, installer may not write correct
registry since installer is 32-bit.


-- Makoto

pradeep wrote:

> Hi,
> I successfully do queryservice (IAccessible) to get the ISimpleDomNode
> when my OS is 32 bit and Firefox is 32 bit. But with Firefox x64 -
> Namoroka. The following queryService call fails :
>
> IServiceProvider *pServProv = NULL;
> pCAcc->QueryInterface(IID_IServiceProvider, (void**)&pServProv);
> ISimpleDOMNode *pNode = NULL;
> if (pServProv)
> {
> const GUID refguid = {0x0c539790, 0x12e4, 0x11cf, 0xb6, 0x61,
> 0x00, 0xaa, 0x00, 0x4c, 0xd6, 0xd8};
> HRESULT hresult = pServProv->QueryService(refguid,
> IID_ISimpleDOMNode,
>   (void**)&pNode);
>
>                          // fails
>                         .........
>                  }
> I found that the ISimpleDomNode has entries only in WOW part of
> registry. My application is x64 so it could be looking not in WOW part
> of registry but in the main section of registry meant for x64 apps.
> that could be the reason its is failing. Any alternate suggestions to
> fix this? Is ISimpleDomNode interface going to have entries in x64
> part of registry in future?
>
> Thanks,
> Pradeep

_______________________________________________
dev-accessibility mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-accessibility
Reply | Threaded
Open this post in threaded view
|

Re: Accessibility on x64 Firefox- Namoroka

pradeep-18
On May 21, 1:54 pm, Makoto Kato <[hidden email]> wrote:

> Hi predeep.
>
> Could you try regsvr32.exe AccessibleMarshal.dll on cmd.exe of
> administrator mode before that?
>
> If you use x64 version of Firefox, installer may not write correct
> registry since installer is 32-bit.
>
> -- Makoto
>
> pradeep wrote:
> > Hi,
> > I successfully do queryservice (IAccessible) to get the ISimpleDomNode
> > when my OS is 32 bit and Firefox is 32 bit. But with Firefox x64 -
> > Namoroka. The following queryService call fails :
>
> >            IServiceProvider *pServProv = NULL;
> >            pCAcc->QueryInterface(IID_IServiceProvider, (void**)&pServProv);
> >            ISimpleDOMNode  *pNode = NULL;
> >            if (pServProv)
> >            {
> >                    const GUID refguid = {0x0c539790, 0x12e4, 0x11cf, 0xb6, 0x61,
> >                                                                    0x00, 0xaa, 0x00, 0x4c, 0xd6, 0xd8};
> >                    HRESULT hresult = pServProv->QueryService(refguid,
> > IID_ISimpleDOMNode,
> >                                                                                                               (void**)&pNode);
>
> >                          // fails
> >                         .........
> >                  }
> > I found that the ISimpleDomNode has entries only in WOW part of
> > registry. My application is x64 so it could be looking not in WOW part
> > of registry but in the main section of registry meant for x64 apps.
> > that could be the reason its is failing. Any alternate suggestions to
> > fix this? Is ISimpleDomNode interface going to have entries in x64
> > part of registry in future?
>
> > Thanks,
> > Pradeep

Hi Makoto,
I tried regsvr32.exe AccessibleMarshal.dll but I get this error-> The
module AccessibleMarshal.dll was loaded but the call to
DLLRegisterServer failed with error code 0x80070005.
This error points to : General access denied error

Thanks,
Pradeep
_______________________________________________
dev-accessibility mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-accessibility
Reply | Threaded
Open this post in threaded view
|

Re: Accessibility on x64 Firefox- Namoroka

pradeep-18
On May 26, 3:46 pm, pradeep <[hidden email]> wrote:

> On May 21, 1:54 pm, Makoto Kato <[hidden email]> wrote:
>
>
>
> > Hi predeep.
>
> > Could you try regsvr32.exe AccessibleMarshal.dll on cmd.exe of
> > administrator mode before that?
>
> > If you use x64 version of Firefox, installer may not write correct
> > registry since installer is 32-bit.
>
> > -- Makoto
>
> > pradeep wrote:
> > > Hi,
> > > I successfully do queryservice (IAccessible) to get the ISimpleDomNode
> > > when my OS is 32 bit and Firefox is 32 bit. But with Firefox x64 -
> > > Namoroka. The following queryService call fails :
>
> > >            IServiceProvider *pServProv = NULL;
> > >            pCAcc->QueryInterface(IID_IServiceProvider, (void**)&pServProv);
> > >            ISimpleDOMNode  *pNode = NULL;
> > >            if (pServProv)
> > >            {
> > >                    const GUID refguid = {0x0c539790, 0x12e4, 0x11cf, 0xb6, 0x61,
> > >                                                                    0x00, 0xaa, 0x00, 0x4c, 0xd6, 0xd8};
> > >                    HRESULT hresult = pServProv->QueryService(refguid,
> > > IID_ISimpleDOMNode,
> > >                                                                                                               (void**)&pNode);
>
> > >                          // fails
> > >                         .........
> > >                  }
> > > I found that the ISimpleDomNode has entries only in WOW part of
> > > registry. My application is x64 so it could be looking not in WOW part
> > > of registry but in the main section of registry meant for x64 apps.
> > > that could be the reason its is failing. Any alternate suggestions to
> > > fix this? Is ISimpleDomNode interface going to have entries in x64
> > > part of registry in future?
>
> > > Thanks,
> > > Pradeep
>
> Hi Makoto,
> I tried regsvr32.exe AccessibleMarshal.dll but I get this error-> The
> module AccessibleMarshal.dll was loaded but the call to
> DLLRegisterServer failed with error code 0x80070005.
> This error points to : General access denied error
>
> Thanks,
> Pradeep

Hi Makoto,
I was successfully able to register AccessibleMarshal.dll as you
suggested. Does that mean I will have to register all the firefox
dlls ?

Thanks,
Pradeep
_______________________________________________
dev-accessibility mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-accessibility
Reply | Threaded
Open this post in threaded view
|

Re: Accessibility on x64 Firefox- Namoroka

Makoto Kato-2
Hi, Pradeep.

This is installer bug on x64 package.  I will fix this.


> Hi Makoto,
> I was successfully able to register AccessibleMarshal.dll as you
> suggested. Does that mean I will have to register all the firefox
> dlls ?
>
> Thanks,
> Pradeep

_______________________________________________
dev-accessibility mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-accessibility
Reply | Threaded
Open this post in threaded view
|

Re: Accessibility on x64 Firefox- Namoroka

pradeep-18
On Jun 1, 6:40 am, Makoto Kato <[hidden email]> wrote:

> Hi, Pradeep.
>
> This is installer bug on x64 package.  I will fix this.
>
> > Hi Makoto,
> > I was successfully able to register AccessibleMarshal.dll as you
> > suggested. Does that mean I will have to register all the firefox
> > dlls ?
>
> > Thanks,
> > Pradeep

Hi Makoto,
Thanks. Please let me know once this is fixed.

Thanks,
Pradeep
_______________________________________________
dev-accessibility mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-accessibility