What is the difference between an EXE and a DLL?

Answers were Sorted based on User's Feedback

What is the difference between an EXE and a DLL?..

Answer / manoj

Exe file is the executable(machine language) file which is
generated after successful compilation and linking process
of a programing language.

these files are especially created under dos Environment
like ms-dos this file is treated as the exteranal command
and whenever we execute this file the dos gives control to
the exe file and lets it to do what ever has been
instructed in this file.

in contrast the .DLL file usually comes under the 32-Bit
world like windows which contains all the API(Application
program interface)funtions which are called during
execution of a program.

Is This Answer Correct ?    11 Yes 0 No

What is the difference between an EXE and a DLL?..

Answer / kirti

You can create an objects of Dll but not of the EXE.

Dll is an In-Process Component whereas EXE is an OUt-Process Component.

Exe is for single use whereas you can use Dll for multiple use.

Exe can be started as standalone where dll cannot be.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between an EXE and a DLL?..

Answer / rohit passi

1.In Exe Main() exit and in dll no Main().
2.Exe can compie and execute and dll can compile only.
3.Exe User Interface and dll is not user interface.
4.Exe is not secure and dll is secure.

From rht.passi@gmail.com

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More Programming Languages AllOther Interview Questions

How Many versions are there in crystal reports

2 Answers   Wipro,

what is difference between sap and java ?

1 Answers  

I was try to insert 120000 records into the orcle table using the stroed proceeder. But it was stop the 9999. What can I do insert all the records.

2 Answers  

what is the difference between Windows application and Unix application?

0 Answers   Satyam,

1.Describe about your project?

1 Answers  

Differevce between arrays and array builders?

0 Answers  

Is there any standard procedure to test the application as a whole? Or How can I test complete application right from the requirement gathering?

0 Answers  

What is procedural oriented language language..? give some examples of this language....?

0 Answers  

given a height balanced tree. If we add one more node , how many nodes gets unbalanced ?

2 Answers   Hughes,

Explain the types of operations? Draw the figure for shift and rotate operations?

0 Answers  

what is c sharp dotnet

0 Answers   NIC,

iam confused among testing ,.net and java. can anybody help me.

0 Answers