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