That particular error message...seems to originate with certain programs using C++ and dates back to Win 3.1.
Of the situations where users report this error, none seem to point to a solution.
I would check Event Viewer for any application errors
that might provide clues.
How To Use Event Viewer - http://www.bleepingcomputer.com/forums/t/40108/how-to-use-event-viewer/
I would try running the sfc /scannow command, followed by running the chkdsk /r command.
How To Use Sfc.exe To Repair System Files - http://www.bleepingcomputer.com/forums/t/43051/how-to-use-sfcexe-to-repair-system-files/
To run chkdsk /r...Start/Run..type chkdsk /r (space between k and /). Type Y in response to onscreen query and hit Enter. Reboot the system. The command will execute and then boot into XP upon completion.