answersLogoWhite

0


Best Answer

Dll make it more simple for u, exe's are executables, or applications while dll are resource files that executables usually depend on

AnswerA DLL so called Dynamic Link Library is a Library Class (In .NET its a Final result of a User Control or a Class designed) is a file that includes the Source code or the Callable functions that provide(s) service to the Application currently being executed.

An EXE is a Stand-alone Application that could be executed on any platform

An EXE is an Independent Application while DLL is a Dependent on the Application's Call and Utilise of the DLL so In Question.

An EXE has a dynamic access to any resource(s) of the Computer for ex. Printer, DMA, while DLL is / may alloted a fixed resource(s) to utiilse.

EXE makes use of DLLs to execute the Application, while DLLs are called by the EXEs.

As the name suggest, DLL is dynamically Loaded and Executed as and when necessary been called by the application, while EXE once called is loaded in the Memory while being Executed.

DLLs has to be registered Using regsrv32 utility, while EXE is not suppose to be registered.

DLLs are more efficient than EXE when the question is related to the Memory Utilization.

Majorly DLLs comprises of the Functions or Procedures designed by any Programming Language which is mainly considered as "PROCESSING PART", whereas EXE comprises of Graphical User Interface (GUI), the Events to perform Actions, utilizing the DLLs (Calling and Retrieving results through DLLs).

EXE may directly make use of OS while DLLs may or may not directly make use of OS.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

An exe is an executible program. A DLL (Dynamic Link Library) is a file that can be loaded and executed by programs dynamically. Basically it's an external code repository for programs. Since usually several different programs reuse the same DLL instead of having that code in their own file, this dramatically reduces required storage space. A synonym for a DLL would be library.

DLL does not have main function but exe has main function

Here DLL is inprocess component, both component and consumer will share same memory and Exe is out process component, it will run in its own memory.
An exe is an executible program. A DLL (Dynamic Link Library) is a file that can be loaded and executed by programs dynamically. Basically it's an external code repository for programs. Since usually several different programs reuse the same DLL instead of having that code in their own file, this dramatically reduces required storage space. A synonym for a DLL would be library.
DLL fiel it is usually the file contains informations about programs. EXE is file which can be run and reading a information from DLL and other files to execute program.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between an EXE and a DLL?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Why does VS2010 lose linked dll-libraries while compiling?

Do you mean that your compiled .exe complains about a missing .dll when run on another computer? Try linking to the C++ runtime instead of the library dll.


Is there a .bat to .exe converter that also makes a dll with the .exe too?

No. A bat file is sort of a script. It cannot be compiled nor changed into binary executable.


How do you take files out of an exe file?

An exe is a file which is run by the computer. It is not a data file. You can not take it apart. It does not contain separate files per se although it may liink to several separate files within the computer such as dll files.


Can a DLL be changed to an EXE?

In short, the answer is no. Unlike an EXE file which contains a single entry point (typically WinMain() or simply main() depending on the type of exe file), a DLL file is a library of functions intended to be linked into a running application. A DLL file can have a nearly infinite (it's based on file size and such) possible entry points. So, for example, if your DLL file is math library, you might have a function called add() or subtract(). These functions by themselves are meaningless without parameters being passed to them. Additionally, you wouldn't be able to use a programmatic method of deciding which of the two functions would be a meaningful entry point to the file. So the EXE you created wouldn't know how to start. You might however be thinking of a module similar to the DLL files which are executed by svchost.exe on Windows which loads a DLL into memory and runs it like a program. Service host defines a clear entry point into a DLL which is executed through there. I've never been a big fan of this way of doing things as task control is nearly impossible by doing this. You have to use fairly fancy task managers even to track down which DLL files are loaded by svchost.exe to figure out which instance of svchost.exe to kill. Still, while service host defines an entry point to the DLL, the DLL does not implement a main function recognizable by the EXE file loader in Windows. Therefore, you can't just simply change a svchost DLL file to an EXE file. A slightly longer answer and much more hackish solution would be to find a utility which would translate a DLL file into separate object components that can be linked to another program statically. This IS possible as it would really only require dumping the DLL specific headers and rewriting the functions as COFF objects as opposed to DLL objects. I highly recommend against doing this. If you don't have access to the source code of an application or library, it's a really bad idea to hack something together from the binary level. I'm assuming that since you're asking in the first place, you're not a system level developer with years of experience reverse engineering other peoples code. So, doing this would just be a bad idea. If you're trying to load a svchost.exe style DLL file in your own project, you'd be better off just implementing the svchost.exe API in your application and loading the DLL itself from there. Less things can go wrong that way and your code may still be debuggable.


Are there any programming language that is non-English?

Yes.And it's free it's called a Text Document,once you write a command you just need to save it as ie:.txt .exe .startup .dll etc.

Related questions

Why dll files are faster than exe files?

Because dll's aka dynamic link library, can excute many files at once.


How do you open 16-bit .dll files?

You can't. DLL file ( Dynamic Link Library ) can only be opened by an executable ( EXE ) or compiler.


Why does VS2010 lose linked dll-libraries while compiling?

Do you mean that your compiled .exe complains about a missing .dll when run on another computer? Try linking to the C++ runtime instead of the library dll.


I have the code for the COM exe with me.How do you convert the COM exe file to dll file?

The first thing to do is to change the entry point from main() to Dllmain() and alter the code to suit a DLL. You then have to tell your compiler that you are compiling a DLL, not an EXE. How you do that depends on the compiler. For instance, in Visual Studio, you would need to change the project's properties under General | Configuration Type. Note that EXE files do not necessarily make good DLLs. You may have to alter the implementation somewhat since you are no longer running a program as such, you are essentially loading and unloading a function and/or class library that can be utilised by external programs to which the DLL is linked.


How do you convert dll file into exe file?

When Your Windows Explorer Screen Is Up Go on top Tools>Folder Options>View> Then Uncheck "Hide Extinsions For Known File Types. Then Your File Will Be Named "Example.dll" all you have to do is highlight ".dll" and change it to ".exe"


Is there a .bat to .exe converter that also makes a dll with the .exe too?

No. A bat file is sort of a script. It cannot be compiled nor changed into binary executable.


Where do you unpack a dll?

Most likely, you don't need actually unpack dll files. Unlike exe files, dll files are not packed due to their nature: one copy of a dll can be accessed by a number of application. OTOH, a particular dll can be protected from viewing and reverse engineering. or if you want unpack dll really, most often all you need to do is copy and paste into proper folder


What is the difference between a DIR file and EXE file in director?

trdfx5tdifyibh cv5yhtn097g


Which applications would be the prime target for attacks?

Any web application, buggy EXE files, and DLL libraries.


Where does windows store driver device files?

c:\Windows\system32 or c:\Windows\system32\drivers and have an .exe , .dll or .sys A+ Guide to software page 305


What is the difference between the two installation programs Winn.exe and Winnt32.exe?

Winnt.exe is the 16-bit version and Winnt32.exe is the 32-bit version


Difference between 32 bit and 64 bit?

I want to download Aegisub on Medocow. But I see two files there aegisub-3.1.3_32.exe (with 32 bit) and aegisub-3.1.3_64.exe (with 64 bit) and I do now know what file I need. What difference between them?