Post by Kevin on Jun 28, 2008 19:38:46 GMT -5
I have uploaded the initial beta version of VCLZip that supports Unicode filenames, paths, and archive names. If you are currently a VCLZip 4 registered user and interested in trying out the beta send an email to support@vclzip.com and we will email you the download page and password.
If you are not a registered user of VCLZip 4 you can still see this version in action. You can download the compiled executable version of the Zip Utility Example at
www.vclzip.com/VCLZip410_Executable_Demo.zip
This is a beta (the initial release), not a production version. Please test it out and let me know if you find any bugs or problems. At this point there could be problems anywhere between the installation down to the code itself, so expect anything.
Important information on using Unicode filenames and paths:
Beginning with VCLZip 4.10, VCLZip is able to store Unicode filenames and paths as well as use Unicode in archive filenames and paths.
In order to allow VCLZip to implement Unicode filenames, a compiler conditional define must be created...
When you install VCLZip 4.10 beta the following should already be done. But to verify that it is done, open up the VCLZip package with the package editor. In Project | Options, select the Directories/Conditionals tab and if it is not there already, type IMPLEMENT_UNICODE into the conditionals text box and save.
In order to implement Unicode, VCLZip uses WideStrings wherever filenames and paths are used. Defining IMPLEMENT_UNICODE will cause VCLZip to compile all such strings as WideStrings and cause WideString functions to be called instead of the normal Ansii String functions. When IMPLEMENT_UNICODE is not defined, VCLZip is compiled as it always was in earlier versions using regular Ansii strings and functions.
VERY IMPORTANT
Only Delphi 6 and above, and BCB 6 and above are supported when implementing Unicode. Delphi 5 and below and BCB 5 and below are not supported for Unicode.
If you are upgrading an existing application that uses VCLZip, this will cause many events to require changes since parameters that were regular strings will now be widestrings in a lot of instances.
Until Delphi 2008 is released, Delphi GUI components do not support Unicode. Therefore, if you wish to implement Unicode in your GUI you will need to add Unicode capable components. When modifying the VCLZip Zip Utility Example to work with VCLZip 4.10, we used the TMS Unicode Component Pack which you can find at
www.tmssoftware.com/site/tmsuni.asp
The VCLZip Zip Utility Example uses TMS Unicode controls, but does not include the TMS controls themselves. You will have to purchase TMS Unicode if you do not already own it for the example project to work. However, it is not needed for VCLZip itself to support Unicode.
Also note that we have not created a Unicode version of the BCB Zip Utility Example yet.
Let us know if you have any questions.
Thanks,
Kevin
support@vclzip.com
If you are not a registered user of VCLZip 4 you can still see this version in action. You can download the compiled executable version of the Zip Utility Example at
www.vclzip.com/VCLZip410_Executable_Demo.zip
This is a beta (the initial release), not a production version. Please test it out and let me know if you find any bugs or problems. At this point there could be problems anywhere between the installation down to the code itself, so expect anything.
Important information on using Unicode filenames and paths:
Beginning with VCLZip 4.10, VCLZip is able to store Unicode filenames and paths as well as use Unicode in archive filenames and paths.
In order to allow VCLZip to implement Unicode filenames, a compiler conditional define must be created...
When you install VCLZip 4.10 beta the following should already be done. But to verify that it is done, open up the VCLZip package with the package editor. In Project | Options, select the Directories/Conditionals tab and if it is not there already, type IMPLEMENT_UNICODE into the conditionals text box and save.
In order to implement Unicode, VCLZip uses WideStrings wherever filenames and paths are used. Defining IMPLEMENT_UNICODE will cause VCLZip to compile all such strings as WideStrings and cause WideString functions to be called instead of the normal Ansii String functions. When IMPLEMENT_UNICODE is not defined, VCLZip is compiled as it always was in earlier versions using regular Ansii strings and functions.
VERY IMPORTANT
Only Delphi 6 and above, and BCB 6 and above are supported when implementing Unicode. Delphi 5 and below and BCB 5 and below are not supported for Unicode.
If you are upgrading an existing application that uses VCLZip, this will cause many events to require changes since parameters that were regular strings will now be widestrings in a lot of instances.
Until Delphi 2008 is released, Delphi GUI components do not support Unicode. Therefore, if you wish to implement Unicode in your GUI you will need to add Unicode capable components. When modifying the VCLZip Zip Utility Example to work with VCLZip 4.10, we used the TMS Unicode Component Pack which you can find at
www.tmssoftware.com/site/tmsuni.asp
The VCLZip Zip Utility Example uses TMS Unicode controls, but does not include the TMS controls themselves. You will have to purchase TMS Unicode if you do not already own it for the example project to work. However, it is not needed for VCLZip itself to support Unicode.
Also note that we have not created a Unicode version of the BCB Zip Utility Example yet.
Let us know if you have any questions.
Thanks,
Kevin
support@vclzip.com