DLL – What`s that :D-Collection of common programming errors

Hi,

A DLL stands for a Dynamic Link Library. I will answer these questions from the perspective of .NET and Visual Studio.

1. In .NET, a DLL is a .NET assembly which gets generated when you compile a project of type class library.

2. A DLL can be used from another Executable by referencing it during compilation or by dynamically loading it at runtime using Assembly.Load method.

3. You can generate a DLL in all of the .NET languages – C#/VB.NET/J#…

4. In order to know what a DLL contains you can add a reference and then use the Object Browser within the Visual Studio IDE or use a 3rd party tool such as .NET Reflector.

Regards,

Vikram