Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!rpi!uwm.edu!ux1.cso.uiuc.edu!emills From: emills@ux1.cso.uiuc.edu (Evan Mills) Newsgroups: comp.os.msdos.programmer Subject: Re: Opening more files in C Message-ID: <1991Feb22.165555.12278@ux1.cso.uiuc.edu> Date: 22 Feb 91 16:55:55 GMT References: <27c3d936@ralf> Organization: University of Illinois at Urbana Lines: 25 David Burki presented an excellent article in the February issue of Tech Specialist magazine on just this topic. I recommend you pick up a copy if you're interested in this subject. Burki says that INT 21h, Func 67h is documented for DOS 3.3, and he presents a method using undocumented DOS calls to raise the limit to 255 in DOS3.1 and above. Two notes. One, the total number of file handles will still be limited by the maximum allowed by the system. If you have a FILES=20 statement in your CONFIG.SYS file, you'll still be limited to 20 system-wide file handles. And two, the DOS Load & Exec function (INT 21h, Func 4Bh) will not automatically recognize any relocated file handle tables, so if you wish to pass the file handle table of a process to one of it's child processes, you'll have to do this manually. Hope this helps! --- Evan -- Evan Mills, Programmer/Patriot Missile Launcher "Hug me." Illinois State Water Survey "Who ARE you?" Office of Surface Water Resources & Systems Resources "I'm a signpost." EMAIL: evan-mills@uiuc.edu -- L.A. Story