Breaking News

Editors Picks

Sunday, June 27, 2010

What is difference between dll and exe?

1) 

.Exe
1.These are outbound file.
2.Only one .exe file exists per application.
3. .Exe cannot be shared with other applications.

.dll
1.These are inbund file .
2.Many .dll files may exists in one application.
3. .dll can be shared with other applications.


2)
EXE..
1.Its a executable file
2.There is only single main entry
3.When a system launches new exe, a new process is created
4.The entry thread is called in context of main thread of that process.

DLL..
1.Its a Dynamic Link Library
2.There are many entry points.
3.The system loads a DLL into the context of an existing thread



3)
DLL

1. It can be reused.
2. It can be versioned.
3. It is not self executable
4. It doesn't have main function

.EXE
1. It cannot be reused
2. It cannot be versioned.
3. It is self executable.
4. It will have main
function.

D


4)

DLL:
1)it has versioning
2)it is not self executable
3)it runs in application process memory
4)it has no entry point
5)it is reusable

Exe:
1)it is self executable
2)it has no versioning
3)it runs in own memory
4)it have main function(Entry point)
5)it is self executable
5)

DLL:
1)it has versioning
2)it is not self executable
3)it runs in application process memory
4)it has no entry point
5)it is reusable
6)Out Process Server

Exe:
1)it is self executable
2)it has no versioning
3)it runs in own memory
4)it have main function(Entry point)
5)it is self executable
6) In Process Server

No comments :

Post a Comment

Contact Us

Name

Email *

Message *