Why does my program using dialog boxes crash?

Previous Miscellaneous

Q: What causes my archived program using dialog boxes and/or the catalog to crash?
A: Many things can cause programs to crash. However, archived programs using dialog boxes often crash due to special problems. Defining SET_FILE_IN_USE_BIT may solve the problem.