What is the difference between regular dlls and extended
dlls?

Answers were Sorted based on User's Feedback



What is the difference between regular dlls and extended dlls?..

Answer / n.venkateshwara rao.

DLL is acronym of Dynamic Link Libraries.

The libraries (In simple functions) can be linked to the
main program in two different ways as given below,

a) Statically linked (Static linking/Early Binding)

Link between main module and sub module is happened at
compilation stage itself.

b) Dynamically linked (Dynamic linking/Late Binding).

Link between main module and sub module is happened at Run
time.DLLs adhere dynamic binding.

Advantage of DLLs is that they are separate Object Binary
(.obj) and kept aside/away of the main Executable (.exe)
program.

They are loaded at Run-time on demand basis and can be un-
loaded if their purpose is solved. Since they are not the
part of main exe the memory required to load main exe would
be comparitively less. But the functions that were
statically bound tooks more memory and their object (.obj)
binary would be the part of main exe (.exe)

Take a long breath ...

Now coming to the main part of the query ...

Regular DLLs can be exported to any where irrespective of
the technology/language in which they are used/called. For
eg - Regular DLLs can be called from C,C++ and Visual Basic
too. In simple they can be used any where even though the
client program which is called don't have MFC libraries.

Extend DLLs -

In extended DLLs we can export total class itself. i.e we
can export the member function of the classes. They
requires MFC libraries in the client program from where
they are called/used.

Is This Answer Correct ?    2 Yes 2 No

What is the difference between regular dlls and extended dlls?..

Answer / arundeva

Now coming to the main part of the query ...

Regular DLLs can be exported to any where irrespective of
the technology/language in which they are used/called. For
eg - Regular DLLs can be called from C,C++ and Visual Basic
too. In simple they can be used any where even though the
client program which is called don't have MFC libraries.

Extend DLLs -

In extended DLLs we can export total class itself. i.e we
can export the member function of the classes. They
requires MFC libraries in the client program from where
they are called/used.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MFC Interview Questions

Differ GetMessage, PostMessage & PeakMessage?

4 Answers   Symphony,


How many types of combo box are their

2 Answers   Aaditya Info Solutions, E Logic,


Psychic Window Technique

2 Answers   E Logic, Wild Net,


1)why we cant create more than one instance of the class Derived from CWinApp

5 Answers   Alstom,


What is Multithreading

1 Answers   Invensys,






What is the use of message map ?

5 Answers   TCS,


what is message Testing ?

1 Answers   L&T,


What is the difference between ASSERT and VERIFY?

2 Answers  


how do u identify RTTI in vc++

4 Answers   Siemens,


What is the difference between the ASSERT and VERIFY macros?

4 Answers  


Does the application have more than one object? If Yes, Briefly explain.

2 Answers   Soltius Infotech,


What are the differences between MFC Exception macros and C++ exception keywords?

2 Answers  


Categories