Solved

what is the difference between a dll and an exe?

Posted on 2004-09-30
1
166 Views
Last Modified: 2010-04-23

I understand that exe's can be run directly and dll's need to be registered. But I want to no more in the context of Visual Studio .Net, What is the history of evolution of these?
0
Comment
Question by:qualtrace
1 Comment
 
LVL 28

Accepted Solution

by:
iboutchkine earned 125 total points
Comment Utility
First of all .NET DLLs are not COM DLLs and are not registered with regsvr32.exe.
Exe can run on its own, dll must be called from exe. Look at it as external sub or function, that you can reuse in different programs

.net assemblies are referenced from two places. #1 the folder in which the
application is stored and #2 the Global Assembly Cache or GAC.

If you're DLL is specialized for your application and unlikely to be useful
to other applications and deploy it into the folder where the executable is
to be stored. If your DLL is likely to be shared by several applications or
requires some strict version management then put it into the GAC.  The
assemblies placed into the global assembly cache must be strongly named.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video discusses moving either the default database or any database to a new volume.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now