I asked this in other forums with little answers.

Its a game related question.... here is what i have:

Windows 98
Its a full screen 3d based game which requires latest dirext x. It seems to take control of the keyboard because the lights no longer work when the game is active and I can assign things to num lock and caps lock etc... if I open an in game chat window I regain normal use of these keys then as soon as the chat window closes I lose them again.

Here is what im trying to do:

Im not looking to cheat or hack I just want to be able to have keys sent to the game... now I have written the entire program that does exactly what I want... BUT when im in non chat mode the game does not respond to the sendkeys or wm_keydown commands. If I am in chat mode the keys get sent like they are supposed to and appear in the caht window.

Anyone have any Ideas where I can start to try and fix this problem?

Thanks

-J