Article View: borland.public.cppbuilder.nativeapi
Article #7711Re: File I/O
From: Remy Lebeau (TeamB)
Date: Tue, 11 Jan 2005 04:31
Date: Tue, 11 Jan 2005 04:31
18 lines
1664 bytes
1664 bytes
"Patrick Wong" <patrickwong@computer.org> wrote in message news:41e33da8$1@newsgroups.borland.com... > How can I use BCB(Delphi) File I/O API to resemble tradition > file access functions in C? You are asking VCL questions in a Win32 API newsgroup. FileOpen() is a VCL function. CreateFile() is the Win32 API for opening/creating files. > FileOpen() only have access modes like fmShareDenyWrite, fmOpenWrite > to be applied. FileOpen() always opens the file at the beginning of the file. You would then have to seek to the end of the file via FileSeek() after opening it. Gambit
Technical Details
Message-ID:
<41e3561e$3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41e33da8$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,991cc71bafbd3990 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: <41e33da8$1@newsgroups.borland.com> Subject: Re: File I/O Date: Mon, 10 Jan 2005 20:31:08 -0800 Lines: 20 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: 68.69.17.41 Message-ID: <41e3561e$3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1105417758 68.69.17.41 (10 Jan 2005 20:29:18 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail