Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best zipping solution (activeX or else)
Message
De
04/10/2015 08:41:25
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01625178
Message ID:
01625439
Vues:
93
Hi Rick

For dynazip I use Mark E. McCasland dynazip wrapper, slightly modified, Download#9895

The thing is that returns from commandline are such an akward thing. I need to get the comments out of the zips so this means to write something throug a pipe -> to a directory I'm sure I can write too, I need fileinfo stuff too that I get now as an array (I create an encryption that is paritaly salted with fileinfo, nothing tricky) and so on, what I all needt to mimic throug command line. This all does not look like fun (on a windows machine). I do this in my git thing on VFPX and it is a pain.

On a M$ machine command line calls feel somehow strange. I would do w/o thinking on Linux but on Windows?
(If I only could talk customer to use Linux add all. It could be that easy ...)

OTOH customer squeeses my zips into 7z so the idea was to made things easier using a comp?


>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 ---
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform