DLL Hell

As most of us are aware of by now, one of the goals of creating Win32 DLLs was for code reuse. We are also painfully aware that the version of the DLL could make or break the application. New applications would ship and often contain a newer version of a DLL that another application would depend on and, of course, the new DLL would break existing software. The rules of COM tried to combat this problem through strict rules, but these rules were to be followed by developers and not enforced by any runtime system. As such, even applications that used COM components found that not all COM developers followed the rules, and software would crash when using different versions of supposedly the same component.

With .NET, Microsoft has chosen ...

Get C# and the .NET Framework: The C++ Perspective now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.