| View previous topic :: View next topic |
| Author |
Message |
Torsten Anders Guest
|
Posted: Wed Feb 16, 2005 5:59 pm Post subject: Increase number of open files |
|
|
Hi!
My BCB5 application needs to open a lot of files at the same time but I
found the number of open files is limitied in _nfile.h to 50. I don't think
it's enough to change the number in this file. How can I increase this
number, the best would be a solution allowing a run time to specify the
number of open files.
Any ideas?
Thanks in advance
Torsten
|
|
| Back to top |
|
 |
Hans Galema Guest
|
Posted: Wed Feb 16, 2005 6:12 pm Post subject: Re: Increase number of open files |
|
|
Torsten Anders wrote:
| Quote: | Hi!
My BCB5 application needs to open a lot of files at the same time but I
found the number of open files is limitied in _nfile.h to 50. I don't think
it's enough to change the number in this file. How can I increase this
number, the best would be a solution allowing a run time to specify the
number of open files.
|
Have a look at this thread:
From: "Niyazi Unugur" <unugurn (AT) hotmail (DOT) com>
Newsgroups: borland.public.cppbuilder.rtl
Subject: open more files with fopen()
Date: Wed, 29 Dec 2004 18:09:08 +0200
Or use CreateFile()/WriteFile()/CloseHandle().
Hans.
|
|
| Back to top |
|
 |
Torsten Anders Guest
|
Posted: Wed Feb 16, 2005 7:27 pm Post subject: Re: Increase number of open files |
|
|
Thanks Hans
"Hans Galema" <notused (AT) notused (DOT) nl> schrieb im Newsbeitrag
news:42138d7b$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Torsten Anders wrote:
Hi!
My BCB5 application needs to open a lot of files at the same time but I
found the number of open files is limitied in _nfile.h to 50. I don't
think
it's enough to change the number in this file. How can I increase this
number, the best would be a solution allowing a run time to specify the
number of open files.
Have a look at this thread:
From: "Niyazi Unugur"
Newsgroups: borland.public.cppbuilder.rtl
Subject: open more files with fopen()
Date: Wed, 29 Dec 2004 18:09:08 +0200
Or use CreateFile()/WriteFile()/CloseHandle().
Hans.
|
|
|
| Back to top |
|
 |
|