I have TWO questions, if I may ask them here.
How do I write a simple little DOS program with Delphi 6
that will write some text on the screen, and then capture it
inside a separate Delphi app, say in a TMEMO box ?
(I'm excerising my capturing DOS contents experience)
for n := 1 to 10 do
And, while the DOS app is outputing the contents to IT'S
screen, MY app will also be capturing THAT screens contents
in a TMEMO box. To be exact, how do I capture the variable
'n' in my TMEMO box ?
How do I "capture" the data that is being generated (outputed)
in a DOS screen (or session) into my app, in a TMEMO box ?
Please, I would love some source code samples, if I'm not being
to pesky about it.
I'm asking these quesiton, because there are a number of DOS
programs that have command-line parameters, and depending on
these parameters, the DOS session will output various types of
data to it's screen. And, they will be different at times.
I'm trying to learn how to capture this data. That is why
I'm asking the above TWO questions. With Programmers Heavin's
help, I hope to succeed.
- Delphi 6
- Windows 98
Thank you for your help.
0 · ·