Solved

Text Transfer between programs

Posted on 2003-12-11
3
202 Views
Last Modified: 2010-04-02
I am trying to make a simple program that will read data from anouther process and send data back, i have found several websites on sending text to anouther window in visual basic but i cant seem to find anything on doing it in C++ i assume it would be as simple (yeh right... like anything simple!) as having a method to find the window, a method to send keystrokes to it, and anouther method to read the data from a text box...

certain data about the other window is known, like the text box i want to send to is named editx (according to some window handle finding programs) and the one i want to recieve from is called RichEd32, and they are both inside a window with an unknown name (the name of their parent window changes) and that parent windows parent has a name containing a fixed name (with other changing text after its name) i think this is the information i need to find the window handle (i managed it in VB by checking the window below the cursor every 100ms untill it matched these conditions... lol)

please could someone tell me how to do this, or give me a link to a site that describes how to do this (if one exists... i couldn't find one)

thanks in advance
0
Comment
Question by:SirPlancealot
3 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 125 total points
Comment Utility
0
 
LVL 9

Expert Comment

by:tinchos
Comment Utility
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: jkr {http:#9922059}

Please leave any comments here within the next four days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Tinchos
EE Cleanup Volunteer
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

763 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

6 Experts available now in Live!

Get 1:1 Help Now