What is the difference between Extension DLL and Regular
DLL?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between Struts and JSF? Pls list some most suitable differences.

2855


How to handle dynamic menus in mfc? What happens when client calls cocreateinstance?

702


how to repaint when working with horizontal scroll bar

1555


I want recent paper pattern for HP company?

1798


List out the basic features of MFC.

13738






2.create for 10 batch: Employee_Number Employee_name Employee_Dateofjoining Employee_address Employee_salary 1.select the employee name who deriving more than 10 thousand salary and joined before august 08. use structure and pointers

1818


what message is sent to an application when the user presses the primary button?

1392


what is functioning of DIalodDataXchange ..?

1200


plzz tell me what we can do and dont in tally ERP & sap business one?

1886


How do I create a dialog box in mfc?

617


Do you have an idea about MFC?

927


what is the meaning of constant FILE EXCEEDS LENGTH LIMIT while loading from ps file to vsam in the jcl?

3355


What does mfc stand for?

972


What is mfc class hierarchy?

627