- May 20, 2008
My misunderstanding goes way back ... to MSDOS, ANSI.SYS, and 4DOS. I may never get it straight.
I don't think DOS had a color model, beyond "There are 16 colors."
Charles, have you any more speculation on why TCMD uses my INI file color palette and not yours?
I haven't messed with it since. Don't really need to redefine colors, I was just curious why that dialog doesn't seem to do anything for me. But... in one of the posts you've since deleted, you suggest that GetConsoleScreenBufferInfoEx() is returning 0 for failure when, in fact, it succeeds. Does that still appear to you to be the case?
I just checked my own code, in one of the few places where I use that function, and I'm not checking the return value. Instead I pass it a buffer filled with zeros, and then check that it has written nonzero values. If there is a bug in GetConsoleScreenBufferInfoEx's return code, I may have avoided it purely by accident.