> Starting with Delphi 6, you can use a single DPK file without > reference to the VCL number and then use the {$LIBSUFFIX } directive > to have the output BPL file include the appropriate VCL version.
Hi Ray,
The suffix is included in the source of the DPK file. So, if you have to maintain a package for multiple versions of Delphi, you would have to take care of *that* every time you compile the package, to make sure the suffix is the one you need at the moment. Practically, the directive is cool if you just go up with your package and never need to compile it with a lesser version of Delphi. I think that's why this feature is practically unused by big component players, as far as I can see.
If the suffix (and other) would be saved in other file, Delphi version specific, than it would be really cool. I'm thinking at .dof files. Too bad they were not meant to go up with the Delphi version, either with small name adjustment, or using same file name, but different content, kind of .ini (xml), something like
[Delphi6] LIBSUFFIX=60 ...other crap
[Delphi7] LIBSUFFIX=70 ...other crap
regards,
Lucian