🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Tracking the number of open files

#12166
From: Paul Dowd
Date: Wed, 24 Dec 2003 10:34
23 lines
1812 bytes
I use fopen() when wanting to read/write text and open() for binary. I know
this is not very eloquent or consistent but thats the legacy of my long
learning curve! Do both these methods not count towards the number of open
files limit? Which do you recommend? - I suppose I should stick to open() ??

Paul


"Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message
news:3fda27b1$1@newsgroups.borland.com...
>
>
> > Also, how can I increase the number of files that can be simultaneously
> > open?
>
> That depends on how you are opening them to begin with.  I assume you are
> using fopen(), correct?  Why not use the CreateFile() function instead,
> particularly since you are posting this question to an API newsgroup.
>
>
> Gambit
>
>
Technical Details
Message-ID: <3fe96c6b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsgate.cistron.nl!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fda0259@newsgroups.borland.com> <3fda27b1$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,5c04324033f7eb51
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-12-24 02:39:22 PST
Reply-To: "Paul Dowd" <pauldowd@seisqc.freeserve.co.uk>
From: "Paul Dowd" <pauldowd@seisqc.freeserve.co.uk>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3fda0259@newsgroups.borland.com> <3fda27b1$1@newsgroups.borland.com>
Subject: Re: Tracking the number of open files
Date: Wed, 24 Dec 2003 10:34:34 -0000
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 81.105.52.175
Message-ID: <3fe96c6b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1072262251 81.105.52.175 (24 Dec 2003 02:37:31 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsgate.cistron.nl!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail