🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #16417

Re: File Copy Operation

#16417
From: Muhammad Momin Rashid
Date: Thu, 15 May 2003 16:07
25 lines
1942 bytes
I am not using CopyFile function because I need to have control over the
data being copied, in some cases I need to clean the corrupted data (which
occurs due to faulty media).  This the reason I am reading file in chunks
and writing these chunks to a new file.

Given the above scenario, can you think of an alternate i can use, which is
both speedier and gives me this sort of control?

Regards,
Muhammad Momin Rashid

"Ed Mulroy [TeamB]" <ed@mulroyREMOVETHESECHARS.org> wrote in message
news:3ec3944e$1@newsgroups.borland.com...
> If your way is significantly slower than the CopyFile function and speed
is
> an issue then why not change the code to use the CopyFile function.
>
> .  Ed
>
> > Muhammad Momin Rashid wrote in message
> > news:3ec35dd4@newsgroups.borland.com...
> > ...
>
>
>
Technical Details
Message-ID: <3ec3be2e@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!news.maxwell.syr.edu!xmission!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!wn12feed!worldnet.att.net!216.166.71.14!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ec35dd4@newsgroups.borland.com> <3ec3944e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,2c3eb0c8d9515a68
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-05-15 09:23:32 PST
From: "Muhammad Momin Rashid" <momin@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ec35dd4@newsgroups.borland.com> <3ec3944e$1@newsgroups.borland.com>
Subject: Re: File Copy Operation
Date: Thu, 15 May 2003 21:07:24 +0500
Lines: 27
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: 202.163.125.172
Message-ID: <3ec3be2e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1053015598 202.163.125.172 (15 May 2003 09:19:58 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!xmission!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!wn12feed!worldnet.att.net!216.166.71.14!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail