Solved

what is the difference between a dll and an exe?

Posted on 2004-09-30
1
172 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

756 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