www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/16/16:05:19

From: arcadepreserv AT hotmail DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: How do I read console output from a frontend
Date: Thu, 16 Sep 1999 17:15:39 GMT
Organization: Deja.com - Share what you know. Learn what you don't.
Lines: 25
Message-ID: <7rr8je$kot$1@nnrp1.deja.com>
NNTP-Posting-Host: 212.151.84.245
X-Article-Creation-Date: Thu Sep 16 17:15:39 1999 GMT
X-Http-User-Agent: Mozilla/4.5 [en] (Win95; I)
X-Http-Proxy: 1.0 x37.deja.com:80 (Squid/1.1.22) for client 212.151.84.245
X-MyDeja-Info: XMYDJUIDkivik
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Sorry about the repost, but the old title was apparently misleading.

I want to program a frontend to a dos command, that loads a program into
a device. This command displays the percentage of load achieved
continously on the screen.

Now I want to make a nicer DOS GUI to this command, without having the
source for the command. It should not be a problem to start the load
program from my dos GUI, but I want to read out the percentage written
to the screen by the load command and draw a bar in the GUI.

Can someone give me hints on how to do this (read the data output from
load command)?

when run it looks like this:

>Load filename.bin
LOADING filename 45% 1345 bytes written

I want to do this in djgpp, perhaps with a suitable library, but other
free compilers/libraries will also do.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019