[delphizip] Re: TZipMaster inside dll

  • From: "Roger Aelbrecht" <Aelbrecr@xxxxxxxxxx>
  • To: <delphizip@xxxxxxxxxxxxx>
  • Date: Mon, 20 Sep 2004 19:10:00 +0200

Eugene Druzhinin wrote:
> Hello.
> I can try to use TZipMaster component inside dll.
> When I need to zip some files I do:
> ZipMaster1:=TZipMaster.Create(nil); (Have not owner component inside
> dll) ZipMaster1.Load_Zip_Dll;
> ZipMaster1.FSpecArgs.Assign(TmpList); (TmpList exists and contains
> file names) ZipMaster1.AddOptions:=[AddUpdate];
> ZipMaster1.ZipFileName:='C:\test.zip';
> ZipMaster1.Add;
> ZipMaster1.Unload_Zip_Dll;
> ZipMaster1.Free;
> 
> There are not test.zip at disk C.
> 
> When I use the same code inside application all work OK.
> 
> Thank you.
> Evgeny.
> 
> 
> 
> -----------
> To unsubscribe from this list, send an empty e-mail
> message to:
>   delphizip-request@xxxxxxxxxxxxx
> and put the word unsubscribe in the subject.

I am not so familiar with using components inside a dll, but
from what I have read about it this could be very difficult because
zipmaster is using the VCL and that can cwuse troubles when used 
in a dll.

When similar problems were reported in the Biorland BCB newsgroups
then the solution given is use a package instead of a dll, because packages
have some special code aallowing the use of the VCL without problems

HTH

Roger Aelbrecht
http://home.tiscali.be/driehoeksw

-----------
To unsubscribe from this list, send an empty e-mail 
message to:
  delphizip-request@xxxxxxxxxxxxx 
and put the word unsubscribe in the subject.

Other related posts: