>Hi Rick,
>
>>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.
>
>Thanks for your contribution.
>
>The program just spits out and handle xml-based resources. I'd be glad to offer a clean alternative way to store the data as compressed stuff. This is certainly NOT mandatory.
>
>I dislike the idea of shell manipulation within a VFP standalone end-user-controlled app when it comes to data manipulation (no issue when it comes to data admin or, of course, anything in a server process). Possibly because the few COM-based components that I use extensively within the app just work so well as well:)
>
>Daniel
If it's only to compress/uncompress a string, see messages message#
1352945 and message#
1120915 using zlib.dll
You can include zlib.dll in your project, extract it and store it on disc before using it
If you store the compressed data in a memo - use NOCPTRANS
Gregory