home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / os2 / programm / 7299 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  1.1 KB

  1. Path: sparky!uunet!munnari.oz.au!jabaru.cec.edu.au!csource!gateway
  2. From: Andrew.Lighten@f383.n634.z3.fidonet.org (Andrew Lighten)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: # of File Handles?
  5. Message-ID: <726186884.AA09589@csource.oz.au>
  6. Date: Thu, 31 Dec 1992 10:32:06
  7. Sender: gateway@csource.oz.au
  8. Lines: 21
  9.  
  10. HXC6@psuv>From: H. Choe <HXC6@psuvm.psu.edu>
  11. HXC6@psuv>Organization: Penn State University
  12. HXC6@psuv>
  13. HXC6@psuv>Hi.  I want to open a bunch of files simultaneously in my fortran
  14. HXC6@psuv>(Watcom F77/386) program.  Here are questions:
  15. HXC6@psuv>(1)  What is the default number of files handles?
  16. HXC6@psuv>(2)  How to set the number of file handles?  (Is there something
  17. HXC6@psuv>     similar to FILES=xx [in config.sys for dos] for OS/2?)  Or,
  18. HXC6@psuv>     do I misunderstand something?
  19. HXC6@psuv>Thanks.
  20.  
  21. (1) No idea at all. Never bumped into it.
  22.  
  23. (2) You can do it dynamically. Look at the DosSetMaxFH() function. The
  24.     FILES=n statement in your OS/2 config.sys file is for DOS apps.
  25.  
  26. Andrew.
  27. ___
  28.  * MR/2 1.1 NR * Bugs come in through open Windows.
  29.             
  30.  * Origin: The Lightning BBS - Don't Worry... Be Happy... (3:634/383)
  31.