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.
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
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
This is installer bug on x64 package. I will fix this.
Hi Makoto,
Thanks. Please let me know once this is fixed.
Thanks,
Pradeep