Date: Wed, 4 Mar 92 10:46 +1000 From: Bill Metzenthen Subject: Increasing the file handle limit To: djgpp AT sun DOT soe DOT clarkson DOT edu, listserv AT ucf1vm DOT cc DOT ucf DOT edu Status: O Turbo C has an in-built limit of 20 on the number of file handles. This limit may be reasonably easily removed. I have put together a small package of code and documentation to deal with increasing the file handle limit. The code has been tested with Turbo C v1.5, Turbo C++ v1.0, and Borland C++ v2.0. It has also been tested with MS-DOS v3.10 and v5.00. On an MS-DOS system (>= v3.0) the code can provide enough handles to support 252 simultaneously open files. This number may be smaller if the system has enhancements such as QEMM or network drivers, etc. The code does not increase the number of streams which are available under Turbo C (that is a separate problem). However, code is included in the package which will increase the number of streams available under DJGPP and this will allow the 252 files mentioned above to be all opened as streams. The code for DJGPP applies to DJGPP v1.05. The package is a little large to post here unless there is enough interest in it. However, I can email a copy (uuencoded .zoo or .zip file) to anyone who sends me an email request. Bill Metzenthen apm233m AT vaxc DOT cc DOT monash DOT edu DOT au