.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> .NET Framework >> Post New QuestionBookmark and Share Subscribe to Forum

difference between an EXE and a DLL

Posted By: Amit Mehra     Posted Date: August 07, 2008    Points:2   Category :.NET Framework
Hi,

I want to know the basic difference beween and Exe and DLL.

Responses
Author: Pankaj Mishra             
Posted Date: August 07, 2008     Points: 5   

Hi Amit,
In short the basic dierence between an .exe and .dll is

EXE - An Exe is a self executable file or application.

DLL - dll is a library file which is used in a particular application.

Cheers
Pankaj

Author: Faizal             
Posted Date: October 03, 2008     Points: 5   

http://www.devnewsgroups.net/group/microsoft.public.dotnet.framework/topic1563.aspx

Author: Rahul             
Posted Date: October 26, 2008     Points: 5   

Hi,
An EXE is visible to the system as a regular Win32 executable. Its entry
point refers to a small loader which initializes the .NET runtime and tells
it to load and execute the assembly contained in the EXE.
A DLL is visible to the system as a Win32 DLL but most likely without any
entry points. The .NET runtime stores information about the contained
assembly in its own header.

Author: Abhisek Panda             
Posted Date: December 22, 2009     Points: 5   

EXE files are self executable files which can be directly run by the CPU. When we build our application it creates a .exe file.

DLL is otherwise known as class libraries. These are nothing but some class defined to do a particular job and we can use these DLLs in our application for our convenience.

Author: Abhisek Panda             
Posted Date: December 22, 2009     Points: 5   

EXE files are self executable files which can be directly run by the CPU. When we build our application it creates a .exe file.

DLL is otherwise known as class libraries. These are nothing but some class defined to do a particular job and we can use these DLLs in our application for our convenience.

Author: Deepika Haridas             
Posted Date: February 08, 2010     Points: 5   

EXE is a executable so it will consume more time as the whole application gets loaded at one time.

DLL is group of classes which are dynamically linked to each other.

Author: krishana singh             
Posted Date: December 07, 2010     Points: 5   

dll-dynamic link libary

exe is ..... group of dll

and any

EXE - An Exe is a self executable file or application.

DLL - dll is a library file which is used in a particular application.

Author: krishana singh             
Posted Date: December 07, 2010     Points: 5   

dll-dynamic link libary

exe is ..... group of dll

and any

EXE - An Exe is a self executable file or application.

DLL - dll is a library file which is used in a particular application.

Author: krishana singh             
Posted Date: December 07, 2010     Points: 5   

DLL stands for dynamic-link library and is Microsoft's implementation of a shared library. This means that many different programs can use this library to do their tasks making it easier on the programmers so that they do not have to keep reinventing the wheel each time they write software. In simple terms a .DLL file will contain logic that other programs will use.

EXE stands for executable and denotes that a program is executable. This just means that if you double click on the file a program will run, normally with some kind of interface for a user to interact with. The file formats for EXE and DLL actually the same.

Author: krishana singh             
Posted Date: December 07, 2010     Points: 5   

EXE..
1.Its a executable file
2.There is only single main entry
3.When a system launches new exe, a new process is created
4.The entry thread is called in context of main thread of that process.

DLL..
1.Its a Dynamic Link Library
2.There are many entry points.
3.The system loads a DLL into the context of an existing thread

For More Details..
http://www.c-sharpcorner.com/Interviews/Answer/Answers.aspx?QuestionId=1431&MajorCategoryId=1&MinorCategoryId=1
http://wiki.answers.com/Q/What_is_the_difference_between_an_EXE_and_a_DLL




Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend