441a442,453 > BOOL IsDigitString(const char *s) > { >       if(s == NULL || *s == 0) >               return FALSE; > >       while(*s && isdigit(*s)) { >               s++; >       } > >       return *s == 0 ? TRUE : FALSE; > } > 1503,1504c1515,1516 <     if (len >= 3) <         name[3]=NUL; --- >     /*if (len >= 3) >         name[3]=NUL;*/ 1508a1521,1523 >     } else if (IsDigitString(name)) { >       OutputDebugString("Trying integer\n"); >       RETVAL = GetAsyncKeyState(atoi(name));