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 can get words form screen

how can get words form screen

Scheduled Pinned Locked Moved C / C++ / MFC
tutorial
7 Posts 4 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.
  • Z Offline
    Z Offline
    zh w
    wrote on last edited by
    #1

    HookApi,example "TextOutA",but how do it.

    H D 2 Replies Last reply
    0
    • Z zh w

      HookApi,example "TextOutA",but how do it.

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      Can you be more specific what do you need with TextOut


      WhiteSky


      Z 1 Reply Last reply
      0
      • H Hamid Taebi

        Can you be more specific what do you need with TextOut


        WhiteSky


        Z Offline
        Z Offline
        zh w
        wrote on last edited by
        #3

        first intercept "TextOut", second replacing it,use our function "MyTextOut" : MyTextOut(int nXStart, int nYStart, LPCSTR lpszString,int cbString) { //do anything //here is "TextOut" to do } !when we use the "TextOut",it run "MyTextOut" first in fact. -- modified at 3:41 Wednesday 11th October, 2006

        H M 2 Replies Last reply
        0
        • Z zh w

          first intercept "TextOut", second replacing it,use our function "MyTextOut" : MyTextOut(int nXStart, int nYStart, LPCSTR lpszString,int cbString) { //do anything //here is "TextOut" to do } !when we use the "TextOut",it run "MyTextOut" first in fact. -- modified at 3:41 Wednesday 11th October, 2006

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          Im sorry but i dont understand what do you need, you have a function MyTextOut that it has TextOut then?


          WhiteSky


          Z 1 Reply Last reply
          0
          • H Hamid Taebi

            Im sorry but i dont understand what do you need, you have a function MyTextOut that it has TextOut then?


            WhiteSky


            Z Offline
            Z Offline
            zh w
            wrote on last edited by
            #5

            thanks all the same. intercept API can help us do more useful things. get words from windows screen just only a little section...

            1 Reply Last reply
            0
            • Z zh w

              first intercept "TextOut", second replacing it,use our function "MyTextOut" : MyTextOut(int nXStart, int nYStart, LPCSTR lpszString,int cbString) { //do anything //here is "TextOut" to do } !when we use the "TextOut",it run "MyTextOut" first in fact. -- modified at 3:41 Wednesday 11th October, 2006

              M Offline
              M Offline
              Mark Salsbery
              wrote on last edited by
              #6

              Is this a joke? If you could easily just intercept TextOut and replace it with your own then this computer fad wouldn't have lasted a week! I have to ask... WHY? Just scan the pixels on the screen, use OCR algorithm to get the text, and change it. That will work. Mark

              1 Reply Last reply
              0
              • Z zh w

                HookApi,example "TextOutA",but how do it.

                D Offline
                D Offline
                David Crow
                wrote on last edited by
                #7

                I've not tried it, but see here.


                "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

                "Judge not by the eye but by the heart." - Native American Proverb

                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