DLL Hell refers to the set of problems while sharing multiple applications under a single common component like Dynamic Link Library(DLL) or a Component Object Model(COM) class.
Simply, it is the problem which occurs while registering the DLL components with a common name.
DOT Net has removed this problem by introducing the concept of versioning.
Versioning is a process where, every shared application creates its own version number.
For Example, Let us assume that the version number of the first registered DLL takes as V1.0.
And Now, you want to overwrite the first registered DLL by installing another DLL with same name.
Then the version number of the second registered DLL would be taken as V2.0.
By this way we can avoid the conflicts of DLL registration and can overwrite the registered DLLs successfully.
Asked In: Many Interviews |