Solved

what is the difference between a dll and an exe?

Posted on 2004-09-30
1
169 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
ID: 12190173
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

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
update textboxes with Streamreader 21 47
Help with sorting data in Listbox using VB.NET 3 63
VB.Net How to Exit Sub - Exit Form??? 5 60
Convert an ASPX page into PDF 7 32
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…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

832 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