Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ZIP/unZIP DLL - I found one!
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00091409
Message ID:
00091566
Views:
23
>>>>Look on www.softseek.com in their programming section. --snip--
>>>
>>>Hi Nigel!
>>>I was hoping to check this out today, but I can not get this web site to come up. I was wondering if you were sure if this was the correct address?
>>>
>>>Thanks much!
>>
>>Nevermind Nigel =D)
>>As soon as I posted reply, the darn thing decided to work. Hope it isnt going to be one of them days
>
>Roxanne,
>I have been working on this ALL day today (it's 17:46 here) in Borland C++ (sorry BILL). I have managed to get it working perfectly. Here is a sample of the unzip code converted to VFP.
>
>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()
>
>
>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.

I have created a text file containing all the constant definitions (direct from the C++ header files). If you would like a copy, I will email it you.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform