Diffrence between a dll and exe

Posted on 2005-03-14
Medium Priority
Last Modified: 2013-11-20
i have a file search code. so can any one tell in which it work better in exe or in a dll and why?
Question by:raj_123k
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
  • 2
LVL 44

Expert Comment

ID: 13542222
No difference (essentially) in performance.
The code in an exe will work for that exe.
The code in a dll will work for ALL applications that call that function you export from the dll.

Summary - dll will allow you to share that functionality between applications and has just one copy of the code.  In an exe you have to copy/paste the code and have multiple copies to modify (bug fix, improve functionality...)

Author Comment

ID: 15434112
i request to moderater
to delete this question and return my point because i did not get the answer of this question
and no cooment added from long time.

LVL 44

Accepted Solution

AndyAinscow earned 250 total points
ID: 15434358
What was not satisfactory with my comment?

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses
Course of the Month12 days, 13 hours left to enroll

777 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