So today i decided to use DirectInput. I wrote the code,compiled and ran.. the game image appeared for 1 second,then a WM_QUIT msg was sent and the app just closed.
How is this possible? I checked for null pointers in the new DirectInput code and I have none.
What could trigger something like this?!