Text Transfer between programs

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
SirPlancealotAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jkrCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tinchosCommented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.