I have been coding DirectX and WIN API for over ten years now, I rarely make any mistakes. I didn't recognize the chr command and thought it was a typo.