Thread View: comp.os.os2.programmer
1 messages
1 total messages
Started by Gerry Lachac
Thu, 09 Aug 1990 13:58
Summary: Increasing number of file handles
Author: Gerry Lachac
Date: Thu, 09 Aug 1990 13:58
Date: Thu, 09 Aug 1990 13:58
28 lines
1543 bytes
1543 bytes
Thanks very much to all the people who promptly replied to my plea for help. My original question was: > Has anyone had any success increasing the number of filehandles for an > OS/2 protectmode process? I have tried using the DosSetMaxFH API call > to set the number of file handles to various numbers between 50 and > 255, but I never seem to have more than 20. DosSetMaxFH does not > return any errors. The problem, as everyone point out, was that I was using the C run-time library. The startup code for the library limits file opens to 20, unless you modify the code. This is documented in the startup files and in the Microsoft manuals (so I was told). I didn't attempt to check because I went straight ahead with the second solution, which is directly using DosOpen(). And to think that I thought no one read the os2 groups... uunet!dialogic!gerry | "Even a dead plant turns | Dialogic Corporation OR | over a new leaf | 300 Littleton Rd gerry@dialogic.UUCP | when the wind blows." | Parsippany, NJ 07054 | | (201)334-1268 X193
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads