On Tue, 15 Mar 2011 22:14:13 +0100
"Enrico Maria Giordano" <[email protected]> wrote:
> > > a -hide -mm=PPMd -ssw "Test.zip" "Relazione attività annuale.xls"
> >
> > You did not pass the file name as I suggested. Watch my sample carefully
> > :)
>
> Sorry, I'm missing something but I can't see what it is. I reread your
> sample
>
> > :aFiles := '"Relazione attività annuale.xls"'
>
> but don't understand where my error is. Please help me, thank you.
Where the -ssw switch came from, Enrico?
Following samole worked for me.
--8<--
#define MAX_BUFFER 4096
#include "simpleio.ch"
PROCEDURE MAIN()
LOCAL my7z
IF FILE( "mytest.7z" )
FErase( "mytest.7z" )
ENDIF
WITH OBJECT my7z := T7Zip():New()
:cArcName := "mytest.7z"
:aFiles := '"Relazione attivitÂ… annuale.dbf"'
:nBuffer := MAX_BUFFER
:Create()
? :cCommand
? :cBuffer
? 'RETURN ERROR:', :nError, :ErrorDescription
?
END
RETURN
--8<--
Andi
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers