I have a small problem. I want to check if the shift key is being pressed at a certain time. The problem is that I don't want to use a message loop. In fact, the application does'nt even have a GUI. I tried using the GetAsyncKeyState API, but I didn't work every time :( (atleast not exactly at the moment I pushed shift).

Posted on 2001-10-03 04:34:16 by Delight
how about windows hooks?!?!?
u can hook the keybord, for closer info read Iczelion's Tutorial 24: Windows Hooks and API Reference

hope this will help:alright:
Posted on 2001-10-03 07:25:12 by NEMO
Thanks man, I'll try that

Posted on 2001-10-03 14:19:34 by Delight