And you had A pressed ... for 25 seconds?

First I'd try to disable Unicode.

Secondly I would write "SDL_PollEvent(@Event) <> 0" instead of ">0"
since it resembles Cs perverted bool=int=whatever behaviour better.