Accessing a DOS Application from Windows
-
This is a weird hacky question, so I thought this would be a good forum to ask :-) I have a DOS application running in a dos window under MS Windows (98SE). I need to dig into it to send keystrokes and read the text on the screen. Does anyone have any idea how to do this, or can anyone even offer any pointers as to where I could find out how to do it? Thanks, NDP.
-
This is a weird hacky question, so I thought this would be a good forum to ask :-) I have a DOS application running in a dos window under MS Windows (98SE). I need to dig into it to send keystrokes and read the text on the screen. Does anyone have any idea how to do this, or can anyone even offer any pointers as to where I could find out how to do it? Thanks, NDP.
You could probably use mutexes to alert you when something happens, and a file to explain what happened. Ken Maz
-
This is a weird hacky question, so I thought this would be a good forum to ask :-) I have a DOS application running in a dos window under MS Windows (98SE). I need to dig into it to send keystrokes and read the text on the screen. Does anyone have any idea how to do this, or can anyone even offer any pointers as to where I could find out how to do it? Thanks, NDP.
I assume you are spwaning the "DOS" prog from a Windows prog, if so have a look at:- In the MSDN HOWTO: Spawn Console Processes with Redirected Standard Handles ID: Q190351
If I have seen further it is by standing on the shoulders of Giants. - Isaac Newton 1676