I am searching for some possible way to monitor for an event in C programming. This application is written using DJGPP. Is there a method along the lines of GetEvent or WaitEvent that can be used. Currently the application is setup to run a loop over and over, monitoring for a keystroke or a mouseclick. That is eating up CPU badly because have a lot of people running this application on a server. Are there any suggestions?????????????