Microsoft offers strong forecast, lifting shares