DECLARE addUNZIP_Initialise IN aunzip32.dll
DECLARE INTEGER addUNZIP_RestoreStructure IN aunzip32.dll;
INTEGER YesNo
DECLARE INTEGER addUNZIP_ArchiveName IN aunzip32.dll;
STRING ArcName
DECLARE INTEGER addUNZIP_ExtractTo IN aunzip32.dll;
STRING ExtDir
DECLARE addUNZIP IN aunzip32.dll
addUNZIP_Initialise()
addUNZIP_RestoreStructure(0) && 0=NO, 1=YES
addUNZIP_ArchiveName("c:\temp\testzip1.zip")
addUNZIP_ExtractTo("c:\temp\")
addUNZIP()
<\PRE>
You MUST issue an initialise for EACH zip/unzip you want to do. VFP doesn't seem so fussy but C++ brings up AccessViolation errors if you don't. Also, what I did as a test was to put the aunzip32.dll on a floppy, zipped all the dlls to another file on there and do an addUNZIP for this file to put them into the windows\system directory for next time (I am writing some utils for my daughter who knows nothing about PCs and lives 15 miles away so this is perfect). So long as the aunzip32.dll file is in either the windows\system directory or the same place as the exe file which calls it. There is more info in a separate header file which I have downloaded (C++) - I will post values for the constants within there soon.