Solved

Capturing Text

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

Suggested Solutions

Title # Comments Views Activity
XCode crashes while uploading to app store. 5 270
How to set environment variables in C 2 95
Need example 5 128
C++ finding a sting in a char* string from a text file 3 130
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…
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…
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.
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.

762 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