Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best zipping solution (activeX or else)
Message
 
To
02/10/2015 00:57:13
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01625178
Message ID:
01625429
Views:
109
Ha - me too. I have some C wrappers around Dynazip that are exposed as Win32 endpoints in wwipstuff.dll and that works fine.

7z has an API but it's a C API that can't be called directly from Fox so you still need to create an FLL, or Win32 wrapper so you can call it. I figure it's just as easy to shell out and use it and the EXE is actually more compact than the API.

+++ Rick --

>Hi Rick,
>
>didn't 7z has an API?
>
>I stuck with dynazip (and somehow it becomes unreliable) so I had a look around. Juts the presure is not high enough ...
>
>Lutz
>
>>Then again - why not just shell out to the 7zip exe? It has pretty good command line control especially when you use CreateProcess to wait and capture the command line output and control the shell window...
>>
>>+++ Rick ---
>>
>>
>>>Hi John,
>>>
>>>For sure I appreciate the 7z format as well:)
>>>
>>>My apps are delivered as self-executable 7z-based self-installing routines.
>>>
>>>>[..]the few lines of code is an OK trade for a reliable dll you can distribute under GNU LGPL .
>>>
>>>Paying for the job done makes some sense here. Last time I coded C (or anything that delivers executable code) was 1992 for a couple of fll and and 1999 for a personal hack to the foxisapi stuff. I have alas not the time for me to get into that trade again:(
>>>
>>>Cheers
>>>
>>>Daniel
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform