Turbo Pascal, Borland Pascal and Delphi all suffered from the curse of units. Units were great, way superior to C/C++ compilation allowing fast compiles and efficient stripping of unused code. But they were version incompatible. If you lacked the source code for a compiled unit, you could never move to a later version with it.
But give it its due, the stuff you could do with Delphi for example COM made it probably the only Win 32 compatible language to compete with C++. It was the Betamax to the VHS of VB...