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

1. Consider the following code in our example assembly language: ; an example bit of assembly code ROOT: W FATHER FATHER: W SON1 W SON2 SON1: W NIL W NIL ; ---------------------- SON2: W GRANDSON W NIL GRANDSON: W NIL W NIL NIL = 0 Assemble this code carefully following the two pass model, and show the symbol table at the point marked by the dashed line during each pass.

0 Answers   TCS,


differenc between visual studio 2005,2008 & 2010?

2 Answers  


is try block possible without catch block?

3 Answers  


Hi guyes, I have cleared 2 technical rounds with cts for liferay and java techonologies, i have client round next week, please tell me how to prepare for this what questions i should be ready to face?

0 Answers  


What is the effect of the OPTIONS statement ERRORS=1?

3 Answers   QSG, Quintiles, SAS,






In an customer exit (include Z) program, only the last record is getting fetched. The exit is getting called after pressing save button. What to write for fetching the first record ? Before saved to a SAP table how can i call all these records in an itab in the exit ?

0 Answers  


shall we execute our java programmes in jre

0 Answers  


Write a Pseudo Code to fins the LCM of two given numbers

5 Answers   Goldman Sachs,


can php support multiple inheritence?

2 Answers  


what is web configuration file

0 Answers   HCL,


Give examples of macro quoting function?

0 Answers   GE,


write a sql qwery which include joining of two tables 4 marks mainframe

0 Answers  


Categories