PE> How can *I* increase the default number of file handles per address
PE> space? I think it's ridiculous that I can specify FILES=255 for DOS
PE> programs, and get FILES=20 always (or at best!) under OS/2. BFN.
DL> Try increasing your files= setting in your config.sys.
PE> That's what I just said above, the files= only affects DOS programs
PE> under OS/2, not OS/2 programs under OS/2! Bizaare! Let's hope they
PE> changed that with Merlin. BFN. Paul.
TA> Pardon me for butting in in the middle of a conversation (I didn't see the
TA> start of this), and assuming you are programming in C. Are you really
TA> seeing a limit in the number of file handles (which are integers) or is it a
TA> limit in the number of file pointers in C (which are of type FILE *)? I
TA> suspect it is the latter, since every C implementation I've seen uses a
TA> statically allocated table for file pointers.
The former. BTW, I doubt CSET uses a statically allocated table. Or if it
does, it must be pretty huge, since you can open hundreds of files via it.
TA> The workaround is to either recompile the library, or to use the functions
TA> open, read, write, and close for file access.
I am using DosOpen() in my tests. BFN. Paul.
@EOT:
---
* Origin: X (3:711/934.9)
|