🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

32 bit File O and 64 Bit File IO

#2024
From: Colin B Maharaj
Date: Fri, 11 May 2007 09:53
31 lines
1858 bytes
Hi all,
just wondering, I have this application that does a lot
of file processing and the size requirements of one
of my installations may pass the 2 gig limit soon!

I am using the BCB stock file routines
like FileOpen, FileCreate, FileRead, FileWrite.

I had realize some time back that there are
both 64 and 32 bit routines in the same name
now my questions:

1. Does the FileWrite routine writes pass 2 or 4 GIGs nowhere do I see 
that FileWrite is 64 bit based?

2. Similarly does the FileRead routine work pass the 2 or 4 GIGs point?

. It is clear that FileSeek is both 64 and 32 bit based. So
doe it mean that most of my recoding will be based on
using a 64 bit file pointer for seek operations and thats it!! (?)

I am using BCB6 on XP

BTW: Should I switch to Vista Ultimate (got it as a gift!)


Thanks
Colin B Maharaj
Programmer
I-CNS Limited
Trinidad WI.
Technical Details
Message-ID: <46443D35.2050709@myhost.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,63387be217b705f8,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Message-ID: <46443D35.2050709@myhost.com>
Date: Fri, 11 May 2007 05:53:57 -0400
From: Colin B Maharaj <noreply@myhost.com>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: 32 bit File O and 64 Bit File IO
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 000739-2, 05/11/2007), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 190.58.11.98
X-Trace: newsgroups.borland.com 1178877240 190.58.11.98 (11 May 2007 02:54:00 -0700)
Lines: 31
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail