Three types of DLL

Source: Internet
Author: User

1: regular DLL using shared MFC DLL

Relatively small, but ensure that the corresponding mfc dll exists on the target machine

2: regular DLL with MFC statically linked

Including all the required MFC LibrariesCodeCan be independent from the MFC library,

If you want to perform cross-platform development, you can only choose this

Compilation takes a long time

3: MFC extension DLL

Supports the C ++ interface to export the entire class, which requires the customerProgramThe client program and extension DLL must be dynamically connected to the same version of the mfc dll (mfc42.dll, mfcd42.dll)

If you want to use the classes in MFC, such as a class that inherits from cview, you have to use this method.

 

 

Link: http://w.xue163.com/html/20091128/1964206.html

 

 

Differences between Win32 DLL and MFC DLL

The entry and exit functions of Win32 DLL are both dllmain.

Http://blog.csdn.net/Jorn/archive/2008/08/21/2807604.aspx

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.