Slimelite BBS

Win95 and DOS textcolors

Back to R25C

From Simon Avery · 1996-04-08 17:40 · #75259 in R25C

Ullo All! 

Appear to be having a wee problem. DOS 7 (ie, Win95's dos) sometimes loses
it's colour. 

Eg, my program exits using a specific function which closes all files, says
goodbye and resets the textcolor. Trouble is, Dos7 sets the textcolor to
black, which on a black background ain't so clever.

I'm exitting with:

textcolor(LIGHTGRAY);
textbackground(BLACK);

exit(errlev);

Tried changing the colour, but it just refuses to work. Any ideas?

Simon Avery     savery@zynet.net 

... Press ENTER once to quit or twice to save changes.
<-- Tag-O-Matic V.10 (29035 Taglines) [Quoted: 0%] 
--- Terminate 3.00/Pro
 * Origin: Want Tag-O-Matic? Netmail me for details. (2:255/20.1)