What is the difference between Extension DLL and Regular
DLL?

Answers were Sorted based on User's Feedback



What is the difference between Extension DLL and Regular DLL?..

Answer / kaj telenar

An extension DLL is also known as an MFC extension dll or
and AFXDLL. It can only work with MFC applications and it
shares memory space with the MFC application that it is
linked with. The DllMain needs to call special routines to
let MFC know that it is linked in; otherwise you get weird
memory problems. Extension DLLs must use the dll version of
MFC, rather than the statically linked version.

A regular DLL can be written in any language, generally
exports routines in "PASCAL" format, and uses its own
memory pool.

Is This Answer Correct ?    24 Yes 3 No

What is the difference between Extension DLL and Regular DLL?..

Answer / utpal kr. kashyap

1. Extension DLL only used in MFC applications while Regular
DLL used in MFC and non - MFC applications.

2. Extension DLL are not derived from CWinAppl classes while
Regular DLL is derived from CWinApp class.

3. Extension DLL can export function and classes while in
the case of Regular DLL can export only functions.

Is This Answer Correct ?    19 Yes 7 No

What is the difference between Extension DLL and Regular DLL?..

Answer / varaprasadk

An extension dll can be used in the same language as it is
written (for example C++ in combination with MFC). This
means it is easier to create them, and you can even export
whole classes from these dll's.

A regular dll is a dll that can be used by any language,
not matter in what language it is written. It is very hard
to learn writing these dll's.

Is This Answer Correct ?    17 Yes 10 No

What is the difference between Extension DLL and Regular DLL?..

Answer / k.s.j.prem anand

Regular DLL can export only functions, and it can be used
across C, C++ and MFC based Applications.

The Extension DLL can export classes and class member
functions and this DLL can be used only with MFC based
client Applications.

Is This Answer Correct ?    13 Yes 7 No

What is the difference between Extension DLL and Regular DLL?..

Answer / debasis mahapatra

An extension DLL supports a C++ interface. In other words,
the DLL can export whole classes and the client can
construct objects of those classes or derive classes from
them. An extension DLL dynamically links to the code in the
DLL version of the MFC library. Therefore, an extension DLL
requires that your client program be dynamically linked to
the MFC library (the AppWizard default) and that both the
client program and the extension DLL be synchronized to the
same version of the MFC DLLs (mfc42.dll, mfc42d.dll, and so
on). Extension DLLs are quite small; you can build a simple
extension DLL with a size of 10 KB, which loads quickly.
If you are working on the Win32 environment then
MFC regular DLL.
The regular DLL is two types: Static DLL and dynamic DLL.
If you choose static linking, your DLL will include a copy
of all the MFC library code it needs and will thus be
self-contained. A typical Release-build statically linked
regular DLL is about 144 KB in size. If you choose dynamic
linking, the size drops to about 17 KB but you'll have to
ensure that the proper MFC DLLs are present on the target
machine.

Is This Answer Correct ?    3 Yes 1 No

What is the difference between Extension DLL and Regular DLL?..

Answer / parathysarathy

all answer is exactly right

Is This Answer Correct ?    7 Yes 10 No

Post New Answer

More MFC Interview Questions

what is the use of AFX_MANAGE_STATE ?

4 Answers   HCL,


What?s the difference between Modal and Modeless Dialog?

12 Answers   Jekson, Usl India,


1)dynamic creation of a Button ?

2 Answers   TCS,


What view class enables you to use an edit control as a view?

1 Answers  


In MFC By Using Communication Between Dialog Boxes,How Can We Send Message Of one Dialog Box To Another Dialog.?

3 Answers   Financial Technologies,


How to convert the content of buffer into lower case character.

3 Answers   E Logic,


Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A. Explain how a pointer to function can be declared in C++? B. List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header ("Include") Files.

3 Answers   ABC, HCL, Infosys,


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

2 Answers  


Can you explaing the relashionship between document,frame and view ?

2 Answers  


Explain about MDI and CMultiDocTemplate ?

2 Answers  


i have created runtime menu -- ( admistrator ->managepackage,manage module). but now i want to open a dialog when i select manage package and any other diaolg when selecting manage module ( whole selection is at run time only ) . Please HELP .its urgently required

3 Answers   Patni,


What is Thread ?(VC++)What is the difference between Cmutex and Csemaphone?

5 Answers   Atos Origin,


Categories