Solved

Capturing Text

Posted on 1997-04-04
3
191 Views
Last Modified: 2010-04-15
Within Windows products 3.1, 95, N.T. ; what is involved in
capturing text from one application to another.
In DOS this is acheived by reading the screen memory array.
Hooking the API for displaying text has already been
investigated. We need this for 16 and 32 bit code.

Please help, any advice gratefully received.
0
Comment
Question by:smbarber
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Expert Comment

by:jmataso
ID: 1249815
What are you hoping to do with your application?  Are you writing the applications on both sides of the process, or just the one that is doing the reading?

In the OS design for NT (and to a lesser degree, 95), MS tried to make doing this kind of thing as close to impossible as they could (if you are not writing the programs on both sides of things).  Each process is in its own isolated memory space, so accessing across process boundaries will be difficult at best.

--->John
email:  john.matasovsky@bigfoot.com
0
 

Author Comment

by:smbarber
ID: 1249816
What I was hoping to do was intercept the message queue of one application and process the keyboard messages in another.

I realise that with NT's Process security features this may be impossible, but I am still on Windows 3.1 at present.
0
 

Accepted Solution

by:
PsyKotyk earned 100 total points
ID: 1249817
If possible might I suggest streaming to temp. files.  This will only work on stdin/stdout apps.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
The goal of this video is to provide viewers with basic examples to understand and use structures in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question