Article View: borland.public.cppbuilder.nativeapi
Article #14776Re: Read and write file over 2GB
From: Jos
Date: Sat, 02 Aug 2003 13:25
Date: Sat, 02 Aug 2003 13:25
14 lines
1392 bytes
1392 bytes
Sara T. wrote: > Does Borland C++ Builder provide API for access file pointer 64 bits ? Strictly spoken, no. But functions such as GetFileSize and SetFilePointer work with two 32-bit values that add up to a 64-bit value. But ReadFile only reads in a number of bytes given in 32 bits. > I need to open, read and write file, which more than 2 GB. It's possible. But you have to implement some of the logic yourself. -- Jos
Technical Details
Message-ID:
<3f2bbbe1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3f2bb00d@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,eeea643e7f9eea25 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-08-02 06:28:05 PST From: "Jos" <josnospambranders@fastmail.fm> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f2bb00d@newsgroups.borland.com> Subject: Re: Read and write file over 2GB Date: Sat, 2 Aug 2003 15:25:48 +0200 Lines: 16 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: 213.118.218.41 Message-ID: <3f2bbbe1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1059830753 213.118.218.41 (2 Aug 2003 06:25:53 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail