[fpc-pascal]CRT unit (was: Beep in Windows)

Rich Pasco pasco at acm.org
Mon Aug 6 18:40:29 CEST 2001

Thomas Schatzl wrote:

> WindMax contains garbage on NT consoles because the height of the console
> window is > 255 lines by default. Since Borland only reserved a byte for
> width and height inside this variable your app will have serious problems
> with that.

Umm, I thought that when a program using the CRT unit was active,
the NT console buffer was out of the picture, and the CRT unit used
the physical window size (which would be less than 255 lines to fit
on the screen, unless a very tiny font were used on a very high-res

What am I missing here?

     - Rich

More information about the fpc-pascal mailing list