Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2001-01

win32 compiler bug?

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

I may have found a problem in the repeat functionality with readkey() in version 1.0.4 (at least that's where I *think* the problem is anyway).

Compile the attached program using go32v2 and hold down any of the four listed keys (uparrow, downarrow, pgup, pgdn). Notice how the numbers increment smoothly. Now, compile it for win32 and do the same thing; the numbers won't increment until after you've taken your finger off the key -- there's no more "auto-repeat" functionality. This didn't happen for win32 targets using the 1.0.2 compiler.

TIA...

Regards,
Jim Wilson

(See attached file: Keys.pas)

Reply by email