🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #7309

Re: Increase number of open files

#7309
From: Hans Galema
Date: Wed, 16 Feb 2005 18:12
19 lines
1544 bytes
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" <unugurn@hotmail.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.
Technical Details
Message-ID: <42138d7b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <421389ec@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,5c64b94fa3130cad
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 16 Feb 2005 19:12:47 +0100
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Increase number of open files
References: <421389ec@newsgroups.borland.com>
In-Reply-To: <421389ec@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.201.248
Message-ID: <42138d7b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1108577659 129.125.201.248 (16 Feb 2005 10:14:19 -0800)
Lines: 19
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail