Link to home
Start Free TrialLog in
Avatar of RAFAAJ
RAFAAJ

asked on

Retrieve Data from a foreign process !

I want to retrieve and store in a string variable  the text in an open NotePad document .

How do I go about this ?

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of vinnyd79
vinnyd79

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RAFAAJ
RAFAAJ

ASKER

Thanks,

I can't believe I missed that !

I didn't want to try the sendmessage API because I just read that you can't read data in a foreign Memory space.

Apparently, this is what is read and is called InterProcess Marshalling which doesn't always work.

Thanks