I don't know if this is the best solution, but you could tie the edit box to a variable and write the variable somewhere in the registry and have the other application pull it out from there. If you're interested in some good registry wrapper classes, check out
It offers good solutions too.
One other technique would be to write into a temprovary file which can be used by another application, but ofcourse there are constraints.
Thank you for your reply, but both of you misunderstand me. I have received an EXE file, it's used to open my files and display contents of the files but I cannot GET THE TEXT OF CONTENTS. I'v tried to use Spy++ to get the "window handle" and create a new CEdit from this handle but it doesn't work. Please tell me how to solve this problem.
Perhaps once you get the handle using spy you can post a WM_GETTEXTLENGTH and WM_GETTEXT messages directly to the edit control. But I've never tried it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.