Post by rwerning on Feb 18, 2010 17:52:32 GMT -5
Some comments about the latest version when compiled under D2010. I acknowledge some of it is trivial, but my OCD requires me to comment.. lol. Not sure what you've already resolved in the Official release for D2010, I used the package for D2009 and just renamed it.
- In the project settings for the package, add a description. This is then referenced when looking at the Installed Packages list in the IDE.
For example:
VCLZip Pro (4.X) Enterprise by KpGb Software
- Standard practice for 3rd party components is to have a directory structure where the source code is in there (instead of root) and the BPL, DCP & DCU's go into a library folder.
For example:
C:\Addin14\VCLZip_Pro (root)
C:\Addin14\VCLZip_Pro\Help (already there)
C:\Addin14\VCLZip_Pro\Library (bpl, dcp, dcu)
C:\Addin14\VCLZip_Pro\Source (source code)
C:\Addin14\VCLZip_Pro\Source\aes [misc, stubs, slib123]
Set the package so the output folders go to \library
- Standard naming convention for components is to use the compiler version (see delphi.wikia.com/wiki/Borland_Compiler_Conditional_Defines)
So for example, you've got the BPL for D2009 as:
VCLZipD2009_4.bpl
Typically it would be named something like:
VCLZip4_120.bpl
This then matches up the version of the bpl with the same version suffix as the CodeGear bpl versions.
- Some warnings from the latest build, compiling it for use in D2010.
[DCC Warning] kpZipObj.pas(1292): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warning] kpZipObj.pas(1354): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'kpDiskIOs' implicitly imported into package 'VCLZipD2010_4'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'kpSHuge' implicitly imported into package 'VCLZipD2010_4'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'KpSmall' implicitly imported into package 'VCLZipD2010_4'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'kpUtilsUnicode' implicitly imported into package 'VCLZipD2010_4'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'kpZcnst' implicitly imported into package 'VCLZipD2010_4'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'KpLib' implicitly imported into package 'VCLZipD2010_4'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'kpAES' implicitly imported into package 'VCLZipD2010_4'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'kpDiskIOWin9x' implicitly imported into package 'VCLZipD2010_4'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'kpSStrm' implicitly imported into package 'VCLZipD2010_4'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'kpZipObj' implicitly imported into package 'VCLZipD2010_4'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'kpMatch' implicitly imported into package 'VCLZipD2010_4'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'kpCntn' implicitly imported into package 'VCLZipD2010_4'
- In the project settings for the package, add a description. This is then referenced when looking at the Installed Packages list in the IDE.
For example:
VCLZip Pro (4.X) Enterprise by KpGb Software
- Standard practice for 3rd party components is to have a directory structure where the source code is in there (instead of root) and the BPL, DCP & DCU's go into a library folder.
For example:
C:\Addin14\VCLZip_Pro (root)
C:\Addin14\VCLZip_Pro\Help (already there)
C:\Addin14\VCLZip_Pro\Library (bpl, dcp, dcu)
C:\Addin14\VCLZip_Pro\Source (source code)
C:\Addin14\VCLZip_Pro\Source\aes [misc, stubs, slib123]
Set the package so the output folders go to \library
- Standard naming convention for components is to use the compiler version (see delphi.wikia.com/wiki/Borland_Compiler_Conditional_Defines)
So for example, you've got the BPL for D2009 as:
VCLZipD2009_4.bpl
Typically it would be named something like:
VCLZip4_120.bpl
This then matches up the version of the bpl with the same version suffix as the CodeGear bpl versions.
- Some warnings from the latest build, compiling it for use in D2010.
[DCC Warning] kpZipObj.pas(1292): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warning] kpZipObj.pas(1354): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'kpDiskIOs' implicitly imported into package 'VCLZipD2010_4'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'kpSHuge' implicitly imported into package 'VCLZipD2010_4'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'KpSmall' implicitly imported into package 'VCLZipD2010_4'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'kpUtilsUnicode' implicitly imported into package 'VCLZipD2010_4'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'kpZcnst' implicitly imported into package 'VCLZipD2010_4'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'KpLib' implicitly imported into package 'VCLZipD2010_4'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'kpAES' implicitly imported into package 'VCLZipD2010_4'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'kpDiskIOWin9x' implicitly imported into package 'VCLZipD2010_4'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'kpSStrm' implicitly imported into package 'VCLZipD2010_4'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'kpZipObj' implicitly imported into package 'VCLZipD2010_4'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'kpMatch' implicitly imported into package 'VCLZipD2010_4'
[DCC Warning] VCLZipD2010_4.dpk(43): W1033 Unit 'kpCntn' implicitly imported into package 'VCLZipD2010_4'