Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #3036 > unrolled thread

Re: Parallel archiver using my ParallelZlib is here...

Started byaminer <aminer@toto.ca>
First post2013-02-16 12:02 -0800
Last post2013-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.


Contents

  Re: Parallel archiver using my ParallelZlib is here... aminer <aminer@toto.ca> - 2013-02-16 12:02 -0800

#3036 — Re: Parallel archiver using my ParallelZlib is here...

Fromaminer <aminer@toto.ca>
Date2013-02-16 12:02 -0800
SubjectRe: 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.





[toc] | [standalone]


Back to top | Article view | comp.programming


csiph-web