Sign in Join

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

Mailing lists / fpc-pascal / 2005-08

Re: KeyPressed

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

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

Lowell C. Savage

Thanks! That was it. I had been working on removing the video unit. I put it back in and yanked the drivers unit. Now it works. (Although I'm not sure if the program actually does use CGA graphics in another part of the program--in case it does, I'd appreciate any ideas people would have.)

Thanks again, Tomas!

Lowell
Tomas Hajny wrote, in part:

Show quoted text 6 lines
Yes - it's specifically Crt plus Drivers (which in turn uses Keyboard and Mouse units), which interfere. Crt should be rewritten to use unit Keyboard for ReadKey and KeyPressed implementation - this should probably resolve most of the problems. The other part (Crt accessing console independently of the Video unit) isn't good design, but shouldn't be causing your problems.

Lowell C. Savage

505-667-6964 (office/msg)
360-961-8965 (cell/msg)
505-667-4341 (shared fax)