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