delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/20/07:15:19

From: =?ISO-8859-1?Q?Rafael_Garc=EDa?= <rafael AT geninfor DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: [offtopic] console refresh under Win NT/XP
Date: Fri, 20 Dec 2002 13:11:19 +0100
Organization: Telefonica Data Espagna
Lines: 16
Message-ID: <3E0308E7.9040103@geninfor.com>
NNTP-Posting-Host: 80-24-251-44.uc.nombres.ttd.es
Mime-Version: 1.0
X-Trace: nsnmrro2-gest.nuria.telefonica-data.net 1040386280 17550 80.24.251.44 (20 Dec 2002 12:11:20 GMT)
X-Complaints-To: usenet AT nsnmrro2-gest DOT nuria DOT telefonica-data DOT net
NNTP-Posting-Date: Fri, 20 Dec 2002 12:11:20 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020826
X-Accept-Language: en-us, en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have a program that shows the content of a large text file in which I 
want to look for certain patterns visually. I use ScreenPutString() to 
print so when I run it at full screen I get very much pages per second 
and I can watch all the file in less than a minute, but in a graphic 
window under windows XP you get very low refresh rate and this is not 
practicall.

This is a concern to all interactive console applications, on which that 
awfull delay between program printing and window updating, gives a false 
sense of slowness.

Does anybody know a trick to speed up text printing in a graphic Windows 
NT/XP console?

Thanks

- Raw text -


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