Difference between .dll and .exe?

后端 未结 15 1194
有刺的猬
有刺的猬 2020-12-02 04:23

I want to know the exact difference between the dll and exe file.

15条回答
  •  一生所求
    2020-12-02 05:07

    EXE:

    1. It's a executable file
    2. When loading an executable, no export is called, but only the module entry point.
    3. When a system launches new executable, a new process is created
    4. The entry thread is called in context of main thread of that process.

    DLL:

    1. It's a Dynamic Link Library
    2. There are multiple exported symbols.
    3. The system loads a DLL into the context of an existing process.

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

    Reference: http://www.dotnetspider.com/forum/34260-What-difference-between-dll-exe.aspx

提交回复
热议问题