GetKeyState(0x20);

I don't know why you possibly could have thought that you'd have to use quotation marks, but remove them. wink