Microsoft warns of impact on earnings, sales as dollar strengthens

