Article View: borland.public.cppbuilder.nativeapi
Article #5829Re: binary file operation
From: Bob Gonder
Date: Wed, 06 Jul 2005 17:33
Date: Wed, 06 Jul 2005 17:33
16 lines
1424 bytes
1424 bytes
Hans Galema wrote: >fwang11 wrote: >> How to read and write binary file in BCB? > >1. fopen(), fread(), fwrite(), fclose(). > >2. TFileStream. > >There are more ways. And the Native Win32 API functions.... CreateFile(), Also opens existing, ReadFile(), WriteFile(), CloseHandle() And there are still more ways....
Technical Details
Message-ID:
<4b5oc1tad3r9aitbclvfa1h9tkae3ig683@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42cb8e36$1@newsgroups.borland.com> <42cb90a1$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2b6a6584724f2d7 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: binary file operation Date: Wed, 06 Jul 2005 10:33:57 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <4b5oc1tad3r9aitbclvfa1h9tkae3ig683@4ax.com> References: <42cb8e36$1@newsgroups.borland.com> <42cb90a1$1@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.77.202.147 X-Trace: newsgroups.borland.com 1120671239 67.77.202.147 (6 Jul 2005 10:33:59 -0700) Lines: 18 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail