Gerrit Broekhuis
Programmer
Hi,
In two applications I use zipping/unzipping files quite a few times. I'm using vfpcompression.fll to do this and this works very fast and reliable as far as I can see.
Every time I zip or unzip now I use the code like this:
This is working fine, but adding and releasing the library each time looks a bit weird. Why not just call the library in the start.prg and release it in the quitting procedure?
What are the pro's and con's?
Regards, Gerrit
In two applications I use zipping/unzipping files quite a few times. I'm using vfpcompression.fll to do this and this works very fast and reliable as far as I can see.
Every time I zip or unzip now I use the code like this:
Code:
SET LIBRARY TO vfpcompression ADDITIVE
&& do something with files, zip or unzip
RELEASE LIBRARY vfpcompression
This is working fine, but adding and releasing the library each time looks a bit weird. Why not just call the library in the start.prg and release it in the quitting procedure?
What are the pro's and con's?
Regards, Gerrit