If I start iTunes immediately after logining in to XP, it works. If I close it, it will not reopen.
I followed the instructions on this page.
http://support.apple.com/kb/TS1421
It turned out to be a user-specific problem as described on this page. I then followed the instructions for deleting the "iTunes preference files" and it fixed the problem.