Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming.threads > #1370
| From | aminer <aminer@toto.ca> |
|---|---|
| Newsgroups | comp.programming, comp.programming.threads |
| Subject | Re: Parallel archiver using my ParallelZlib is here... |
| Date | 2013-02-16 12:02 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <kfoe24$rr8$1@dont-email.me> (permalink) |
| References | <kfmr7l$tec$1@dont-email.me> |
Cross-posted to 2 groups.
Hello,
Question:
Where was the bug ?
Answer:
In the ExtractFiles() method, if the destination directory
doesn't exist and it can not be created it must inform you
of that and it must halt after that etc....
I have wrote it like this:
--
if not directoryexists(DestDirectory)
then
begin
if not CreateDir(destdirectory)
then
begin
writeln('Problem creating the destination directory
[',DestDirectory,']...');
halt;
end;
end
else
begin
if destdirectory[length(destdirectory)]='\'
then destdirectory:=copy(destdirectory,1,length(destdirectory)-1);
end;
--
Thank you,
Amine Moulay Ramdane.
Back to comp.programming.threads | Previous | Next | Find similar
Re: Parallel archiver using my ParallelZlib is here... aminer <aminer@toto.ca> - 2013-02-16 12:02 -0800
csiph-web