How to manage dependencies in Delphi? I am involved in the refactoring of some legacy Delphi code. One of the issues I am facing is that multiple project share a multitude of pascal units at the source code level. This introduces numerous ripple effects in the code base. I would like to break this into manageable boundaries by introducing code libraries. These libraries/units would in turn either export interfaces or core classes. My question: how should these units be packaged and distributed? Is it right at first approximation to consider the dcu file as a binary unit similar to an assembly in the .net world? If not what would be the most appropriate approach?

Comments

Post a Comment