How to maintain code in multiple languages (such as .NET and VCL) ?
For example, TMS FlexCel has both .NET and VCL editions. And so does Eldos SecureBlackbox.
How to maintain code in multiple languages (such as .NET and VCL) ?
For example, TMS FlexCel has both .NET and VCL editions. And so does Eldos SecureBlackbox.
The naive answer to how to compile a single codebase in multiple languages is that it is not possible. So I guess that's not quite what you are asking.
For the examples that you give the developers probably have two different codebases that happen to be packaged up into products with the same name and offer very similar functionality.
In the question you mention .net and VCL as examples of languages but these are frameworks rather than languages. However, the products you mention that are available for these different frameworks will likely be two distinct codebases. VCL libraries and .net libraries would use different code bases even if the same languages were available for both frameworks. That much has to be the case because the frameworks are quite different.
For non-visual libraries then it would be possible to share code easily enough. Put common code in a library and then offer multiple language specific wrappers just at the published interface.