BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Increase number of open files

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API)
View previous topic :: View next topic  
Author Message
Torsten Anders
Guest





PostPosted: Wed Feb 16, 2005 5:59 pm    Post subject: Increase number of open files Reply with 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.
Any ideas?

Thanks in advance

Torsten


Back to top
Hans Galema
Guest





PostPosted: Wed Feb 16, 2005 6:12 pm    Post subject: Re: Increase number of open files Reply with quote



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





PostPosted: Wed Feb 16, 2005 7:27 pm    Post subject: Re: Increase number of open files Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.