AnsweredAssumed Answered

VRF - Equivalent function to 'Getch()' ???

Question asked by VRFuser on May 29, 1998
>
> Is there a function which will wait for the keyboard to be pressed ?
> As the Getch() function does in C.
> Also, I will need to clear the keyboard buffer.
>
> Is this available in Vee 4.01 or will I have to generate a DLL.
>

Visit the following site.  There is an existing DLL that works with the keyboard
buffer.  You should be able to loop until something is there to simulate the
getch() function.  Likewise, you should also be able to empty the keyboard
buffer to "clear" it.

http://hpislsup.lvld.hp.com/Web/public_html/doomer/whitePapers/win32/
keyboardHook/KeyboardHook.htm

Bruce Wenner
HP St. Paul


Outcomes