What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 14349 |  Welcome, Guest!   Register  Login
 Home > Interview Questions > ASP.NET Interview Questions > What is DLL Hell? ... ...

What is DLL Hell?

Interview question and answer by: Bharathi Cherukuri | Posted on: 2/8/2012 | Category: ASP.NET Interview questions | Views: 2855 | | Points: 40


Answer:

DLL Hell:

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:

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 | Alert Moderator 
Found interesting? Add this to:


 Responses

Posted by: Chvrsri | Posted on: 09 Feb 2012 04:15:07 AM | Points: 10 | Alert Moderator 

Yes good question. When we work on a VB6.0 component then we can understand the importance of this concept. Soon after every small modification made in the code we need to manually make the dll and make the "IISRESET" once only then the changes gets affected.

When we want to add a new version of our project we need to replace the dll's by unregisterring the present dll's and copy the new dll's and register again.

Unlike in .Net we need not do all these changes as the DLL hell problem has been resolved here.

Nice post !!!

Posted by: Bharathi Cherukuri | Posted on: 10 Feb 2012 01:00:12 AM | Points: 10 | Alert Moderator 

Hi Chvrsri,

Nice explanation !!!

>> Write Response - Respond to this post and get points

Even more ... | Submit Interview Questions and win prizes!

More Interview Questions from Bharathi Cherukuri

Even more ... | Submit Interview Questions and win prizes!


About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/25/2013 1:30:05 AM