How to use API to read window text

I want to write a program that captures text from the window of another application.  Unfortunately, the text I wish to capture appears to be part of an image that is loaded in the other application's main window (i.e. the text is not a label).  Is there any way to retrieve this text through API calls?  If not, is there another method all together?  

Additional Information:
I am using C++ for the project
I cannot purchase additional libraries

Any help would be greatly appreciated.
Who is Participating?
Look for an OCR library.

Although you said you cannot purchase additional libraries, you may find one cheap enough to justify the purchase. I don't know what your hourly rate may be, but coding an OCR algorithm may well keep you busy for weeks. Do the maths and see which is cheaper.

This artice may give you a better understanding of what's involved:

If you want to solve a personal problem (i.e. the code will not end up in an application that gets distributed to others) and you own Office 2003, you may consider using the MODI library. For an example, go here:

I doubt that there's any freeware solutions.. This would be a lot easier (but not easy mind you) if you know what font it's in; but if you're talking about those random-image-password things on websites, then good luck!! lol.

jonmclean2Author Commented:
Its a recongnizable font though i don't know which one.  Its not a website random-image-password things :-)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.