Skip to content

.dll and .exe files?

saurabh mishra

Asked Mar 4, 2015, 1:15 AM EST2 answers
Share
LinkedInX
what is .dll and .exe files and is difference between them?

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Pranay Rana
    0
    Simple difference between Exe and DLL is


    EXE file have entry point. i.e. point from which execution get started. For example consider windows from, console or wpf application in that you find

    public static void main() - which is entry point.

    Where as DLL does not have entry point.  DLLs are loaded into an application (ie they can't run by themselves).
    0
  • Ashish Kumar Panday
    -1
    EXE An exe always runs in its own address space i.e., It is a separate process. The purpose of an EXE is to launch a separate application of its own. DLL A dll always needs a host exe to run. i.e., it can never run in its own address space. The purpose of a DLL is to have a collection of methods/classes which can be re-used from some other application. DLL is Microsoft's implementation of a shared library.
    -1