X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Bogus AT Embarq DOT com (Steve) Newsgroups: comp.os.msdos.djgpp,comp.os.msdos.programmer Subject: Re: DJGPP Setup? Date: Thu, 26 Mar 2009 12:24:02 +0000 (UTC) Organization: Aioe.org NNTP Server Lines: 38 Message-ID: References: <0KGZ00GQ8UBIYMM0 AT mta4 DOT srv DOT hcvlny DOT cv DOT net> <9NFyl.43886$5t4 DOT 31555 AT newsfe24 DOT iad> NNTP-Posting-Host: 4kkVkEvMhTzT+j15kOnG0g.user.aioe.org X-Complaints-To: abuse AT aioe DOT org NNTP-Posting-Date: Thu, 26 Mar 2009 12:24:02 +0000 (UTC) X-Notice: Filtered by postfilter v. 0.7.7 X-Newsreader: IBM NewsReader/2 2.0 Cancel-Lock: sha1:cIFL3qHIEdh+2oOH7Q022vCLG98= To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Benjamin David Lunt" writes: > >However, I don't know if there is still a limit in the DOS >internals or not. I would guess you have to call an undocumented >DOS service (3.3x or higher) to tell DOS that you have >moved the Handle Array and it is now larger. > Hi, The Microsoft MS-DOS Programmer's Reference", Version 5, has a comment on increasing the number of handles for a process (pg 27). Part of which is as follows. "MS-DOS also imposes a limit of 20 on the number of file handles available for individual programs" .. "If more handles are needed, a program can increase its own limit by using Set Maximum Handle Count "..."Increasing the number of handles does not increase the number of open files." (pg 384) Fn 67H "This function sets the maximum number of handles for the program but does not change the number of handles available in the system." "Undocmented DOS" 2nd ed. says on page 742. "Although documented, this function is included because of a bug in early releases. This function is used to increase the per-process limit on open files beyond the default limit of 20 files." Excuse any typos. HTH, Steve N.