difference between COM DLL and COM EXE

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nesamani1822
    New Member
    • Feb 2010
    • 1

    #1

    difference between COM DLL and COM EXE

    Hi, Can anyone tell me the difference between COM DLL and COM EXE?
    when to use COM DLL and COM EXE?
  • sashi
    Recognized Expert Top Contributor
    • Jun 2006
    • 1749

    #2
    An exe is an executable 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.

    Comment

    Working...