Mail Archives: djgpp/1997/09/11/18:35:28
J.E. wrote:
> I tried using kbhit() to check
> the key buffer, but it would still just sit there waiting with getch().
> I am assuming that kbhit() is working fine, but I need an alternative to
> getch().
J.E., since you're using Allegro, why not use keypressed()and see if
that helps? This is what the documentation has to say about it:
Returns TRUE if there are keypresses waiting in the input buffer. This
is equivalent to the libc kbhit() function.
>
> Also, I've been having some problems linking Allegro. About 50% of the
> time it links fine, but sometimes Rhide says this:
>
> no errors
> The Error was: PERMISSION DENIED (EACCESS)
>
> Then, it creates a file with a 000 extension that runs when renamed to
> an exe.
Weird! Actually, I had the same problem when linking Degui. Doug
Eleveld and I never figured out why. The problem seemed to go away when
I reinstalled the newest version. Go figure :-)
- Raw text -