Announcement

Collapse
No announcement yet.

error 67

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • error 67

    I am opening 20 or so random files in PB3.5. On about the 15th OPEN statement I get error 67. I modified the code to uses different directories and different drives. I changed the file name also, all without success. All give the error 67 on the same OPEN statement.

    As a longshot, in CONFIG.SYS, I increased FILES=50 to FILES=60. No change.

    Any ideas?

    Thanks,

    John Gentry




    -------------



  • #2
    By default, DOS permits an application to open only 15 files simultaneously (actually it allows about 20, but 5 are reserved by DOS itself).

    There is a way to extend the limit... I'm not at my DEV PC right now to give you the exact reference, but I think it is detailed in one of the FAQ files installed with your PB/DOS compiler.

    When I get back to my DEV PC, I'll post the relevent information.


    -------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>
    Lance
    mailto:[email protected]

    Comment


    • #3
      Ok, I'm back at my DEV PC... the routine you need is called AddFileHandles() and is located in the DOSUNIT.BAS file in your EXAMPLES directory.


      -------------
      Lance
      PowerBASIC Support
      mailto:[email protected][email protected]</A>
      Lance
      mailto:[email protected]

      Comment

      Working...
      X