getting text from another program problems

This is a discussion on getting text from another program problems within the Windows Programming forums, part of the Platform Specific Boards category; i want to retrieve the text that a program, say game_x shows, when something like another player talks to you, ...

  1. #1
    Registered User
    Join Date
    Jan 2006
    Posts
    3

    getting text from another program problems

    i want to retrieve the text that a program, say game_x shows, when something like another player talks to you, this text can be read by program_y, ive used the Sendmessage with WM_GETTEXT API function, only to pull up the caption of the window, and with winspy++ it shows that there are no child windows for the findwindowex function.
    does anyone know another way?

  2. #2
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,262
    If this mythical "game_x" doesn't display what characters say in a static or edit control, then no, it's not really possible.

    There are umpteen ways a game in particular can display text and it will probably do it without the use of API functions.

    Write a program that'll take a pic of the screen at the time and use Optical Character Recognition (OCR) to determine the text. That'll always work.

  3. #3
    Registered User
    Join Date
    Jan 2006
    Posts
    3
    optical character recognition eh? sounds fancy, do you have any resources on this?


    edit: for those searching the fourms
    http://www.codeproject.com/dotnet/simple_ocr.asp
    Last edited by Andrus; 01-20-2006 at 03:47 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program Plan
    By Programmer_P in forum C++ Programming
    Replies: 0
    Last Post: 05-11-2009, 01:42 AM
  2. Problems with program at work
    By VirtualAce in forum Windows Programming
    Replies: 2
    Last Post: 07-28-2004, 12:08 AM
  3. Replies: 1
    Last Post: 12-17-2002, 12:06 AM
  4. my program wont read my text files in??
    By Neildadon in forum C++ Programming
    Replies: 2
    Last Post: 12-15-2002, 09:08 AM
  5. Ok, Structs, I need help I am not familiar with them
    By incognito in forum C++ Programming
    Replies: 7
    Last Post: 06-29-2002, 09:45 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21