Solved

Capturing Text

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Adjust Mfcapp 29 172
C hashtable library 3 100
Segmentation fault (core dumped) error - C program for Binary Search Tree : Level Order Traversal 2 97
Super Scope, DHCP 5 91
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.

839 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