Solved

Capturing Text

Posted on 1997-04-04
3
190 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

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
Linux context switch  - loop takes long time to process 6 155
Finding a good hash function 4 132
TCP/IP Socket - connection close results in data lost 14 160
Computer slow / BSOD 10 79
Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.
Suggested Courses

739 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