I am going to try this here, one last time before giving up. As an example, I want to (via Win API) access the session text displayed on the screen of a terminal emulator program. I do not want to use SendKeys and the ClipBoard. I know how to do that. I am looking specifically how to accomplish this if it is possible, to capture the current screen at any given time.
I have tried to AttachConsole.... but get Access Denied error.
I have tried fooling with Pipes... but I probably don't know what I am doing, because I get locked up.
Here is the link to download the emulator.
and the emulator version is... W32 TN5250
Please provide means of doing this which I can accomplish from VB6 application.
Please provide complete code with descriptions. I may want to adapt the solution to other types of emulators, so I need to know what is happening.
If this is not possible, then I will be forced to revert to the clipboard.
Successful answer is worth more than 500 points, so if there is a way to award more, I will do it. This is also asked in the MFC area, so successful solution should claim both. (1000 points total)