>I have exactly the same problem and am scratching my head all along. Here is a sample of my code :
>
>Comp=CREATEOBJECT("XceedSoftware.XceedCompression")
>?oComp.License("xxxx")
>x=SPACE(100)
>?oComp.Compress("abhay",@x,.t.) && Returns 0
>?ocomp.GetErrorDescription(0) && Returns Operation completed successfuly.
>
>But the x variable remains blank. Nothing gets compressed at all.
>
>Just for this reason, I cannot decide for buying the Xceed component.
>
>Abhay
I would not know for sure, but you could try to declare x as public variable:
PUBLIC X
X = SPACE(100)
?oComp.Compress("abhay",@x,.t.)
Christian Isberner
Software Consultant