Keyboard buffer problem(?)

Blitz3D Forums/Blitz3D Programming/Keyboard buffer problem(?)

ervin(Posted 2008) [#1]
Hi all.

I have a really strange problem in my program.
When I run it without holding any keys down, it works perfectly.
I can then move the little white square around with the arrow keys.

But if I hold a key down (any key) when I hit F5 to run the program from the B3D IDE, it's as if the program locks up. No keypresses seem to register.
It's like the keyboard buffer is filling up and locking the program or something.

I've tried FlushKeys() but with no success.
Can anyone help?




Wings(Posted 2008) [#2]
Well program works like a charm..

1) i start program with F5

2) i start another program with F5

3) it works like a charm.. i got both program running no problems here.


ervin(Posted 2008) [#3]
Strange... this might be peculiar to running a program from the IDE.
Compiling to an executable, and then running the executable does not exhibit this behaviour.
So, case closed.