Mega Code Archive

 
Categories / Delphi / Ide Indy
 

Compile error too many files open

Question: I have a large project consisting of many units. I added a unit and now I get an error "Too many files open". How can I work around this? Answer: Move your project to a directory with a short path name, or use the dos subst command to substitute a drive letter for the directory name. If you move the project to another directory, be sure to only move the necessary files used to compile the application. Borland's Ti3214 - "Moving Projects Between Machines or Directories" is also a helpful resource. ie: .dpr, .pas, .res etc.. Note: Do not move the .dsm files, as they have path information built into them, and will be automatically regenerated.