Smart questions
Smart answers
Smart people
Join Tek-Tips Forums
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Where is Stephen Darlington? Author of AZIP.DLL AUNZIP.DLL

Nifrabar (Programmer) (OP)
9 Oct 12 16:52
Hi!
In my apps I do use AZIP.DLL and AUNZIP.DLL for making backups.
In win7 these DLL's don't work for me.
Anyone who knows how to contact the author Stephen Darlington?

TIA
-Bart
foxmuldr3 (Programmer)
10 Oct 12 9:14
There's an app I've used for archiving called BigSpeed ZIP DLL. I don't know if he's still around, but you can try it: http://www.bigspeed.net/index.php?page=bszipdll

7-Zip also has a DLL you could use which is currently supported and does work. See: http://www.7-zip.org/faq.html

For both of these projects, write a wrapper function which converts the AZIP/AUNZIP passed parameters to ones compatible with the others.

BigSpeed ZIP DLL has the ability to uncompress to memory blocks. I had the author write a special version which does that. It's not documented (or at least it wasn't back then), but I can show you how to do it. I asked for this feature because we had .ZIP files on CDs and I needed only to scan through the data without extracting it, looking for certain filter conditions.

Hope this helps.

Best regards,
Rick C. Hodgin
TamarGranor (Programmer)
11 Oct 12 16:15
Check out Craig Boyd's compression library, VFPCompression: http://www.sweetpotatosoftware.com/spsblog/2008/12...

Tamar
GriffMG (Programmer)
11 Oct 12 16:52
Craigs library works very well.

Regards

Griff
Keep Smileing

There are 10 kinds of people in the world, those who understand binary and those who don't.

Nifrabar (Programmer) (OP)
16 Oct 12 17:39
I got things back to work.
Due to a modifcation of my app the azip32 failed.
The actual zip action's syntax is : lnFilesInZip = Azip(.T. ,lcArchiefnaam , lcWhat2Backup)
lnFilesInZip returns the number of files which has been zipped.
lcArchiefnaam is the name of the zipfile
lcWhat2Backup contains the path to the files which must be zipped.

The latter caused my failure.
I always had a relative path to the files and I changed it in a full-path naming.
But [beginners fault] this may not contain any space in the file name.

The stupid thing: I faced this problem also years ago (problem of 55+ age)
I can't remember how I fixed that.

Any suggestion:
"data\*.*" works fine wheras
"c:\program files\myapp\data\*.*" fails

Any suggestions? I have to update as my data-files can't stay in sub-folder of my app due to win7 restrictions.

TIA
-Bart
foxmuldr3 (Programmer)
18 Oct 12 12:10
Bart,

It may be the space in "c:\program files\myapp\data\*.*". Try to get the shortened version of the path and see if that corrects it.

CODE -->

DECLARE INTEGER GetShortPathName ;
    IN WIN32API ;
    STRING  tcLongPath, ;
    STRING@ tcShortOut, INTEGER tnShortOutLength

lcShortName = SPACE(1024)
lnLength = GetShortPathName("c:\program files\myapp\data\*.*", @lcShortName, LEN(lcShortName))
IF lnLength != 0
    * File exists
    lcShortName = LEFT(lcShortName, lnLength)
ELSE
    * Error
ENDIF 

Untested, but should work (he said with a smile). smile

Best regards,
Rick C. Hodgin
Nifrabar (Programmer) (OP)
18 Oct 12 17:23
Hi Rick!

That's an intersting solution.
I will try and see how this works out. But just because of curiousity.
Infact I changed to thread184-1695984: path/file naming problem due to embedded spaces as I found this was going off-topic.
In that thread Olaf pointed me to the solution.

Anyway thanks for sharing your knowledge.
-Bart

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close