CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2001
    Posts
    87

    maximum files that can be open

    I have a Visual Basic program that call a DOS program. This DOS program reads file of up to 400 files but after 196 files, it can't read anymore.
    the program is in C. I use fclose and fflush for every reading of file but it doesn't give the solution.
    How can I set the maximum number of files that can be open?

    I have set the autoexec.bat with "FILES=400"
    but yet it went the same error.
    Pls..I need ur any help.
    Thanks

    cecile

    The more u read, the more u do not know

  2. #2
    Join Date
    May 2000
    Location
    New York, NY, USA
    Posts
    2,878

    Re: maximum files that can be open

    I think that the problem is with your memory not with a quantity of files. Check the system monitor when you are running your program.

    Iouri Boutchkine
    [email protected]
    Iouri Boutchkine
    [email protected]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured