Microsoft reported a 4 percent decline in earnings. The figures are blamed on sagging sales of personal computers.