Click here to Skip to main content
15,867,851 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to access of Google Chrome's web-page to read it and perform some actions for that I have to enable accessibility for chrome below is my sample code but it is not working for chrome.

IAccessible *pCAcc
..
..
...
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);

//This QueryService call is failing for chrome browser. BUT but if install "FireFox
//browser " in my system this
// QueryService is working for chrome and firefox perfectly.
if (SUCCEEDED(hresult) && pNode != NULL)
{
//some code

}
}

What I have tried:

if install "FireFox browser " in my system this QueryService is working for chrome and firefox perfectly.
MY Question is :Is there a way to get it to work "chrome browser" without having firefox installed in my computer?
Can anyone explain what are that component or module or dlls are installed with FF browser.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900