[fpc-pascal]Win32 screen writes

James_Wilson at i2.com James_Wilson at i2.com
Thu Jan 4 17:34:34 CET 2001

I know that write/writeln work significantly slower on Win32 targets
(console mode) then they do for go32 targets. With that in mind I have been
using the WriteConsoleOutput API call. This does indeed work much better,
but it suffers from one major drawback; it doesn't respect the borders
established by Pascal's window() procedure. I'm assuming the reason is that
it's an M$ API, and therefore works strictly within the confines of it's
console 'window' itself and not something drawn using the window()

My question is this; does anyone know of a way to output text to the screen
under (text-mode) Win32 that's fast AND works with the window() procedure?



More information about the fpc-pascal mailing list