Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: ZipFiles Function

$
0
0
Re: ZipFiles Function
Web Connection 5.0
Re: ZipFiles Function
Dec. 21, 2012
02:12 pm
3O80UGQSTShow this entire thread in new window
Gratar Image based on email address
From:Rick Strahl
To:Craig Tucker


Hi Harvey,
Are you able to get this running in 64 bit mode?
I need to zip some files and dzip32.dll will not work or register on win 7 64 bit.

Also, in wwAPI.prg the ZipFiles function is referencing wwIPStuff.dll which is deprecated.

DECLARE INTEGER Zip ;
IN wwipstuff.dll ;
STRING ZipFile,;
STRING FileList,;
INTEGER lnCompression,;
INTEGER lnRecurse,;
INTEGER lnAdditive

Any help much appreciated!
Thanks, Craig


This seems to have resolved my use of this feature. Thank you for posting.

--hm--



Dear Rick,
I have wconnect folder in path and dzip32.dll is in wconnect folder, however I was not able to find ZipFiles() function.
I looked it in Server.oApi but I never found ZipFiles() function as stated in your Help about Class wwAPI .
In fact I have seen ZipFiles function in wwApi.prg, but I was not able to call it.
Now I discovered ZipFiles function works if I run SET PROCEDURE TO wwApi.prg ADDITIVE in MyAppMain.prg.
Why is it not available ZipFiles function if I run owwApi=CREATEOBJECT("wwapi") ?

How is the right syntax to compress two type of files:

ZipFiles("Data.zip","*.dbf,*.fpt")

Thank you very much for patience




Rick Strahl
West Wind Technologies

Making waves on the Web

from Maui, Hawaii


Viewing all articles
Browse latest Browse all 10393

Trending Articles