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 for the replies Michael, Eduardo, and Martin!

It looks like I'll have to see what functions are being called to use the Video and Drivers units and see what I can do to work around them or something. Ugh. Oh well, better that than another dead end.

Thanks!

Lowell

Michael Van Canneyt wrote, in part:

Show quoted text 28 lines
> I'm using: CRT, IO, DOS, Video, Printer, Graph, and Drivers. This is the problem. You can't use the Drivers, CRT and Video unit together. Each of them tries to catch keystrokes, and they will randomly receive them. (depending on thread usage). You should use only Video or only CRT or only Drivers (though it can be that drivers and video work together) > And I don't care about multi-platform, so the C library DLL looks kind of like > the way to go. It will still cause problems, because the C library also will interfere with the Video and CRT units... It's planned to base the CRT unit on the video unit (so they would work together), but until now no-one had time. From: (Marco van de Voort) crt.keypressed etc. However that doesn't change the picture that Michael paints, since the units must still be USES'd, and thus the init code that hooks input/output are run.

Lowell C. Savage

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