SteveG wrote:
Reading the source, it would seem that the line
'Process.Input.Write(InputStrings[1], length(InputStrings));' sends
whatever is contained in 'inputstrings' to the process as though
typed on the keyboard - is this correct?
It sends them to stdin.
Can you run your controlled app by sending it a textfile to stdin?
Try this is dos-box:
c:\>MyControlledApp < MyKeyStrokes.txt.
If this doesn't work, then the TProcess won't work either.
if yes, then I am having problems both with my test program, and the
supplied attachment - neither cause any response from the program I am
trying to control
if no, could somebody pls explain / point me to an example to show how
to send keystrokes to a running TProcess ?
I don't know about sending key strokes.
Vincent
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives