Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #3036 > unrolled thread
| Started by | aminer <aminer@toto.ca> |
|---|---|
| First post | 2013-02-16 12:02 -0800 |
| Last post | 2013-02-16 12:02 -0800 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.programming
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Parallel archiver using my ParallelZlib is here... aminer <aminer@toto.ca> - 2013-02-16 12:02 -0800
| From | aminer <aminer@toto.ca> |
|---|---|
| Date | 2013-02-16 12:02 -0800 |
| Subject | Re: Parallel archiver using my ParallelZlib is here... |
| Message-ID | <kfoe24$rr8$1@dont-email.me> |
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 top | Article view | comp.programming
csiph-web