Solved

Capturing Text

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
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 and use structures in the C programming language.
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.

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now