On rare occasions, if I change the name of a the executable file after compiling it, it will no longer open.
Most recently, a piece of software was running successfully for over a month, and then would no longer open after being closed.
Recompiling the source on other computers did not produce the error, however, the problem persisted when transferring the malfunctioning exe to other computers.
An executable freshly compiled and moved with it's entire project directory would run when transferred to the computer where the error occurred, but an error would recur if the exe was renamed.
Written using Borland C++ Builder 6, on Win XP. Application is multithreaded.
Any ideas on what is causing this and how do I avoid it?