I have a Visual Studio 2003 solution I'm trying to build, and I get the following intermittant error. Sometimes it builds ok, but sometimes I get this.
Preparing resources... C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.com returned Error code : 128
AFAIK there is no documented list of exit codes for devenv.com. My best guess, looking at the context here, is that devenv.com was running RC.exe to compile resources, and the exit code is an error from RC.exe. Unfortunately, as far as I can tell there are no documented error codes for RC.exe, either.
System error code 128 is "ERROR_WAIT_NO_CHILDREN", which doesn't seem particularly likely either, unless it means that RC.exe crashed unexpectedly (or failed to load) , at which point devenv.com failed to wait on it.
Does the Windows Event Log show any information? SysInternals' Process Monitor may also provide some clues.
Good luck unravelling it. Sorry I can't be of more assistance.