|
Post by Jim Mellish on Apr 6, 2005 9:56:11 GMT -5
Hi,
I am using VclZip v3.04 build 1, Windows XP sp2, Delphi 7 sp1.
The following code doesn't do what I woild expect:
procedure TForm1.Button2Click(Sender: TObject); var s, t, u: string; begin s := VclZip.ZLibCompressStr('My name is Jim'); ShowMessage(s); t := s; u := VclZip.ZLibDecompressString(t); ShowMessage(u); end;
I would expect my final ShowMessage to show 'My name is Jim' but it actually shows 't%'.
In the code where I doscovered this I compress a string and store it is a database using a query. Close the query, open it again and then decompress the string retreived from the query.
|
|
|
Post by Kevin on Apr 6, 2005 19:46:35 GMT -5
I'll get back to you tomorrow about this. It's late here so I'm headed to bed.
Kevin
|
|
|
Post by Kevin on Apr 7, 2005 15:23:49 GMT -5
This works ok for me. Are you using the evaluation version, or the registered version?
Kevin
|
|
|
Post by Malcolm on May 27, 2005 5:33:48 GMT -5
I got the same (well similar) problem with 3.04 but it's fixed in 3.05. Incidently Kevin, why don't you make 3.05 available on the general download pages?
|
|
|
Post by Kevin on Jun 2, 2005 18:17:00 GMT -5
I now I should, unfortunately I have been very busy on other things the last few months. I will get to it. Kevin
|
|