Article View: borland.public.cppbuilder.nativeapi
Article #12738Re: A file in memory
From: Antonio Farfan
Date: Wed, 19 Nov 2003 16:13
Date: Wed, 19 Nov 2003 16:13
31 lines
1904 bytes
1904 bytes
Ok, thanks, and then I use the Windows API, I always need to use this API to manage the handle of the file. I say you this, because now, the file is worked with the stdio library.For that i need to change all the call, and replace it by the calls to Windows API. or Are there any way to use the handle returnen by CreateFile , i suppose that this is not possible. Thanks for all. "Hans Galema" <dontusethis@dontusethis.nl> escribi� en el mensaje news:3fbb8c20@newsgroups.borland.com... > Antonio Farfan wrote: > > Ok, Thanks, but, the file is created yet. > > You mean: the file exists already ? > > > I am only open and read. Are there > > any optimization for this case? > > <help> > The CreateFile function creates or opens the following objects and returns a > handle that can be used to access the object: > > � files > </help> > > So you can use it to open an existing file. > > Hans. >
Technical Details
Message-ID:
<3fbb9729$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3fbb2ba8@newsgroups.borland.com> <3fbb7699$1@newsgroups.borland.com> <3fbb8546@newsgroups.borland.com> <3fbb8c20@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10cc67,dd3ffa1ba297c535 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-11-19 08:33:17 PST From: "Antonio Farfan" <amfm0777@hotmail.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3fbb2ba8@newsgroups.borland.com> <3fbb7699$1@newsgroups.borland.com> <3fbb8546@newsgroups.borland.com> <3fbb8c20@newsgroups.borland.com> Subject: Re: A file in memory Date: Wed, 19 Nov 2003 17:13:17 +0100 Lines: 33 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 NNTP-Posting-Host: 62.15.230.33 Message-ID: <3fbb9729$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1069258537 62.15.230.33 (19 Nov 2003 08:15:37 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail