Use Sleep() instead of nonworking usleep() for Windows.