Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Writing a DOS app and Capturing DOS data
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.