Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to enable accessibility in chrome browser without installing firefox?

How to enable accessibility in chrome browser without installing firefox?

Scheduled Pinned Locked Moved C / C++ / MFC
questiontutorial
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mallesh Kumar
    wrote on last edited by
    #1

    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.

    L _ 2 Replies Last reply
    0
    • M Mallesh Kumar

      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.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      You already posted this question at https://www.codeproject.com/Questions/5246881/How-to-enable-accessibility-in-chrome-browser-with[^]. Please do not repost.

      1 Reply Last reply
      0
      • M Mallesh Kumar

        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.

        _ Offline
        _ Offline
        _Flaviu
        wrote on last edited by
        #3

        Did you debug the code before and after you installed FireFox ? Maybe in this way you can know what exactly is not working in your code.

        M 1 Reply Last reply
        0
        • _ _Flaviu

          Did you debug the code before and after you installed FireFox ? Maybe in this way you can know what exactly is not working in your code.

          M Offline
          M Offline
          Mallesh Kumar
          wrote on last edited by
          #4

          Yes I debug the code when FF installed QueryService(...) is return success. if I uninstalled FF browser it returns fail "hresult = E_FAIL" I am assuming some components or dlls are installing after FF browser installed so that chrome also working. I want to know what dlls installing with FF browser

          _ 2 Replies Last reply
          0
          • M Mallesh Kumar

            Yes I debug the code when FF installed QueryService(...) is return success. if I uninstalled FF browser it returns fail "hresult = E_FAIL" I am assuming some components or dlls are installing after FF browser installed so that chrome also working. I want to know what dlls installing with FF browser

            _ Offline
            _ Offline
            _Flaviu
            wrote on last edited by
            #5

            In this afternoon I can tell you a little software who can know what dll is installing on your PC when you install Firefox. I don't rememeber his name, but I have it at home.

            1 Reply Last reply
            0
            • M Mallesh Kumar

              Yes I debug the code when FF installed QueryService(...) is return success. if I uninstalled FF browser it returns fail "hresult = E_FAIL" I am assuming some components or dlls are installing after FF browser installed so that chrome also working. I want to know what dlls installing with FF browser

              _ Offline
              _ Offline
              _Flaviu
              wrote on last edited by
              #6

              The program that I am talking about is called RegShot[^], I haven't had it anymore, but as far I am see now, I don't know if it tell you about dll's, but you can retrieve valuable data when you install something, even Firefox. Short documentation: How to Use Regshot To Monitor Your Registry[^]

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups