Difference between .dll and .exe?

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

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

15条回答
  •  余生分开走
    2020-12-02 05:13

    Difference in DLL and EXE:

    1) DLL is an In-Process Component which means running in the same memory space as the client process. EXE is an Out-Process Component which means it runs in its own separate memory space.

    2) The DLL contains functions and procedures that other programs can use (promotes reuability) while EXE cannot be shared with other programs.

    3) DLL cannot be directly executed as they're designed to be loaded and run by other programs. EXE is a program that is executed directly.

提交回复
热议问题