Interviews3 answers
What is the difference between .EXE and .DLL files?
3 Answers
When any source file has main method then it executes & provides exe file
Otherwise dll
Mukesh KumarPosted Aug 31, 2017, 5:57 AM EDT
.exe file is executable file which is based on abstraction(oops).We can just get the output display of the project.
.dll file are used as reference in a project.so that all the public class and methods can be used in the project which uses the .dll file.
Ayappan AlagesanPosted Feb 11, 2017, 8:01 PM EST
EXE
It is an executable file, which can be run independently.
EXE is an out-process component, which means that it runs in a separate process.
It cannot be reused in an application.
It has a main function.
DLL
It is Dynamic Link Library that is used as a part of EXE or other DLLs. It cannot be run independently.
It runs in the application process memory, so it is called as in-process component.
It can be reused in an application.
It does not have a main function.
Guest UserPosted Jun 10, 2016, 3:41 AM EDT

