Sunday, March 8, 2020

How To deliver MFC application?

How To deliver MFC application?

under my Laptop Alpha, I find all MFC dll under this folder: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86

there are two DLLs:mfc140u.dll and mfcm140u.dll.

  1. Determining Which DLLs to Redistribute
  2. vcruntimeversion.dll: Runtime Library for native code. Applications that use the normal C and C++ language startup and termination services.

    mfcversion.dll : Microsoft Foundation Classes (MFC) Library. Applications that use the MFC Library.

    mfcversionu.dll: MFC Library with Unicode support. Applications that use the MFC Library and require Unicode support.

  3. Redistributing the MFC Library
  4. Redistributing Visual C++ Files
  5. To deploy redistributable Visual C++ files, you can use the Visual C++ Redistributable Packages (VCRedist_x86.exe, VCRedist_x64.exe, or VCRedist_arm.exe) that are included in Visual Studio. In Visual Studio 2017, these files can be found in the Program Files[ (x86)]\Microsoft Visual Studio\2017\edition\VC\Redist\MSVC\lib-version folder, where edition is the Visual Studio edition installed, and lib-version is the version of the libraries to redistribute.

    In Visual Studio 2015, these files can be found under your Visual Studio installation directory in Program Files [(x86)]\Microsoft Visual Studio version\VC\redist\locale\.

    Another option is to use redistributable merge modules (.msm files), which in Visual Studio 2017 can be found in the Program Files [(x86)]\Microsoft Visual Studio\2017\edition\VC\Redist\MSVC\lib-version\MergeModules\ folder. In Visual Studio 2015 these can be found in Program Files [(x86)]\Common Files\Merge Modules\.

    It's also possible to directly install redistributable Visual C++ DLLs in the application local folder, which is the folder that contains your executable application file. For servicing reasons, we do not recommend that you use this installation location.

  6. MFC Library Versions
  7. Redistributing the MFC Library
  8. Regular DLL using: MFC Shared vs MFC statically linked
  9. Migrating Projects Created with Visual Studio Versions Earlier than 2010
  10. 20.7. Use MFC in static library or use MFC in shared DLL?
  11. Create projects easily with private MFC, ATL and CRT assemblies
  12. Threads with MFC
  13. Unicode, MBCS and Generic text mappings
  14. An MFC Curve Control
  15. MFC under the hood
  16. Deploying Controls to VS.NET ToolBox Programatically
  17. Deployment Examples
  18. Deploying Native Desktop Applications (Visual C++)

No comments:

Post a Comment