View previous topic :: View next topic |
Author |
Message |
easy rider Valued Newbie
Joined: 10 Sep 2001 Posts: 26 Location: Netherlands
|
Posted: Wed Feb 13, 2002 8:07 pm Post subject: text from a dosbox |
|
|
hi all,
i use for my new program a compiler that runs in a dosbox. To hide this box is no problem (runh) but what i want is the text that appears in that dosbox showing up in a list or edit element
any idea's
see you
rene
|
|
Back to top |
|
|
Dr. Dread Professional Member
Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Wed Feb 13, 2002 8:27 pm Post subject: |
|
|
You could try something like this:
Code: |
runh command.com /c YOURUTIL.EXE > log~file.txt,WAIT
list create,1
list loadfile,1,log~file.txt
file DELETE,log~file.txt
|
That should hopefully channel the output of your program into log~file.txt that can be loaded into a list
Greetingz
Dr. Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
Back to top |
|
|
easy rider Valued Newbie
Joined: 10 Sep 2001 Posts: 26 Location: Netherlands
|
Posted: Fri Feb 15, 2002 8:38 pm Post subject: |
|
|
thanks dread,
there's only one problem: the runh doesn't work, i've got a black screen while compiling my prog.
any suggestions |
|
Back to top |
|
|
Mac Professional Member
Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Fri Feb 15, 2002 10:26 pm Post subject: |
|
|
Use RUNZ... _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
|
|
Back to top |
|
|
easy rider Valued Newbie
Joined: 10 Sep 2001 Posts: 26 Location: Netherlands
|
Posted: Fri Feb 15, 2002 10:45 pm Post subject: |
|
|
hey mac, thanks
that i didn't that try before.
thanks again
see you rene |
|
Back to top |
|
|
|