StarFleet Command Orion Pirates keyboard problem HELP!

Thought I’d load this one up since it was so much fun and it gave me the chance to see how it would run on a newer system. Load and play great but I can’t use my keyboard! I have to go out to Windoes then back into the game before I can get the keyboard to work.

Any ideas?

I am running DX9 and winXL .