Mail Archives: djgpp/2009/03/26/10:00:09
"Steve" <Bogus AT Embarq DOT com> wrote in message news:gqfs52$f4i$1 AT aioe DOT org...
> "Benjamin David Lunt" <zfysz AT frontiernet DOT net> 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.
Hi Steve,
Thanks for this. It has been a while since I have
done anything like this. I also have "Undocumented DOS",
though I think it is the 1st Edition (1990).
Still, it would be interesting to know if one could
read/write from that 21st handle. Maybe if I get a little
time, I will write a bit of code and see.
Thanks,
Ben
- Raw text -