[fpc-pascal] Re: KeyPressed

Lowell C. Savage savage at lanl.gov
Tue Aug 23 19:55:48 CEST 2005

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.



Michael Van Canneyt <michael at freepascal.org> wrote, in part:
> > 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 
>but until now no-one had time.
>From: marcov at stack.nl (Marco van de Voort)
>crt.keypressed etc. However that doesn't change the picture that Michael 
>since the units must still be USES'd, and thus the init code that hooks 
>are run.

Lowell C. Savage
savage at lanl.gov
505-667-6964 (office/msg)
360-961-8965 (cell/msg)
505-667-4341 (shared fax) 

More information about the fpc-pascal mailing list