Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / October 2003

Tip: Looking for answers? Try searching our database.

DLL Hell in .NET

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Allan Wong - 25 Sep 2003 13:57 GMT
What are the under-lying DLLs or libraries that .NET is sitting on which
after installing another program will cause the entire .NET Framework to
fail?
Scott M. - 25 Sep 2003 15:33 GMT
???

> What are the under-lying DLLs or libraries that .NET is sitting on which
> after installing another program will cause the entire .NET Framework to
> fail?
Mr.Tickle - 25 Sep 2003 16:53 GMT
Can you be more specific?

> What are the under-lying DLLs or libraries that .NET is sitting on which
> after installing another program will cause the entire .NET Framework to
> fail?
Allan Wong - 26 Sep 2003 14:45 GMT
Not to mention VC++ .NET, is VB.NET, C#.NET, ASP.NET using NTDLL.dll?
What is .NET written with?
Is it built on any of the DLL/OCX in Windows or Windows\System32 folder on
Windows 98/NT/XP?

> Can you be more specific?
>
> > What are the under-lying DLLs or libraries that .NET is sitting on which
> > after installing another program will cause the entire .NET Framework to
> > fail?
Daniel O'Connell - 26 Sep 2003 23:13 GMT
> Not to mention VC++ .NET, is VB.NET, C#.NET, ASP.NET using NTDLL.dll?
> What is .NET written with?
> Is it built on any of the DLL/OCX in Windows or Windows\System32 folder on
> Windows 98/NT/XP?

Yes, there is no code you run on your system that doesn't access atleast one
kernel level function. Everything from windowing, consoles, drawing, memory
allocation, etc are provided somewhere down in the depths of the system,
including executable loading.
The .NET exe's that run are not directly related to any of them, they import
mscoree.dll and thats about it. mscoree.dll imports from kernel32.dll,
advapi32.dll, user32.dll, shlwapi.dll, and urlmon.dll directly, according to
depends.exe.
No matter what language you write in, even java, the language is going to
use those underlying functions, probably that specific set mostly, because
it provides alot of features.
But, those dll's shouldn't change much, they are pretty central to the
system and are hard to break.

Other components of the system also use OLE32.dll and MSVCR71.dll directly.
There are probably a good number of other dlls under those as well.

Many of the windows forms controls wrap the system provided controls.

Also, did you have to post this so widely? Just one group would have been
enough I'd think.

> > Can you be more specific?
> >
> > > What are the under-lying DLLs or libraries that .NET is sitting on which
> > > after installing another program will cause the entire .NET Framework to
> > > fail?
Allan Wong - 27 Sep 2003 14:17 GMT
Microsoft,

   Can you allow a registering the system core dll into many registry?
   You only have one registry in one operating system.
   This way, every .NET framework version can run independently.

Thanks.

> > Not to mention VC++ .NET, is VB.NET, C#.NET, ASP.NET using NTDLL.dll?
> > What is .NET written with?
[quoted text clipped - 30 lines]
> to
> > > > fail?
Daniel O'Connell - 27 Sep 2003 21:42 GMT
> Microsoft,
>
>     Can you allow a registering the system core dll into many registry?
>     You only have one registry in one operating system.
>     This way, every .NET framework version can run independently.

What do you mean? I'm afraid that didn't make much sense.
.NET framework versions run independently of each other, but not
independently of the operating system, no framework can run independently of
the operating system.

> Thanks.
>
[quoted text clipped - 39 lines]
> > to
> > > > > fail?
Joubert - 29 Sep 2003 18:18 GMT
.NET does not use any Windows DLL's, in fact, it creates an instance of Mac
OS X and then executes in that VM. So you can delete all the Windows DLL's
and still run all your .NET applications.

> Not to mention VC++ .NET, is VB.NET, C#.NET, ASP.NET using NTDLL.dll?
> What is .NET written with?
[quoted text clipped - 6 lines]
> > > after installing another program will cause the entire .NET Framework to
> > > fail?
Dmitriy Lapshin [C# / .NET MVP] - 07 Oct 2003 15:16 GMT
Look, that could become a new .NET anecdote :-)

I think .NET at least relies on DLLs shipped with Windows (kernel, gdi32,
user and so on). But these are unlikely to be replaced by an installation
routine. The rest of the libraries depends on which framework features you
use in your programs. If you, for example, used P/Invoke aggressively, you
could end up being highly dependent on certain versions of a number of DLLs
whereas their absence wouldn't cause the framework itself to fail.

Signature

Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

> .NET does not use any Windows DLL's, in fact, it creates an instance of Mac
> OS X and then executes in that VM. So you can delete all the Windows DLL's
[quoted text clipped - 12 lines]
> to
> > > > fail?
Mr.Tickle - 07 Oct 2003 16:12 GMT
Is there a list of what libraries in the .NET that rely on Pinvoke or
platform specifics (winforms etc)

> Look, that could become a new .NET anecdote :-)
>
[quoted text clipped - 30 lines]
> > to
> > > > > fail?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.