Article View: borland.public.cppbuilder.nativeapi
Article #2032Re: 32 bit File O and 64 Bit File IO
From: Remy Lebeau (TeamB)
Date: Fri, 11 May 2007 16:59
Date: Fri, 11 May 2007 16:59
28 lines
1663 bytes
1663 bytes
"Colin B Maharaj" <noreply@myhost.com> wrote in message news:46443D35.2050709@myhost.com... > Does the FileWrite routine writes pass 2 or 4 GIGs Yes. > nowhere do I see that FileWrite is 64 bit based? It doesn't need to be, because it doesn't deal with file offsets directly, so it doesn't care whether the current offset is past 2GB or not. > Similarly does the FileRead routine work pass the 2 or 4 GIGs point? Yes. > 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!! (?) File pointers have always been 64-bit at the OS level. SetFilePointer() has supported 64-bit file sizes for many years now. FileSeek(), however, did not utilize the higher 32 bits until BCB6. Gambit
Technical Details
Message-ID:
<4644a0f8@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<46443D35.2050709@myhost.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,63387be217b705f8 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <46443D35.2050709@myhost.com> Subject: Re: 32 bit File O and 64 Bit File IO Date: Fri, 11 May 2007 09:59:16 -0700 Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 75.82.60.244 Message-ID: <4644a0f8@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1178902776 75.82.60.244 (11 May 2007 09:59:36 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail