Saturday, July 11, 2020

how to distribute C runtime library?

I need to remove extra feature I installed on SQL 2019. it is too big.

  1. Dependency Walker 2.2
  2. How to Distribute C run-time (CRT) Libraries with Your Application
  3. Introducing the Universal CRT
  4. How to Enforce C++ compiler to use specific CRT version?
  5. How to: Sign application and deployment manifests
  6. Upgrade your code to the Universal CRT
  7. Binding to the most recent Visual Studio Libraries
  8. Go to the folder containing the executable we’ve just build and use the following command to extract the manifest from our executable:

    mt.exe -inputresource:bindingtest.exe -out:manifest.txt

    where bindingtest.exe is the name of your executable. The file manifest.txt will contain the exported manifest.

  9. How to distribute C run-time (CRT) Libraries
  10. TN033: DLL Version of MFC
  11. Shipping an application that uses the shared library requires that you ship the MFCxx.DLL (and others) library with your program. MFCxx.DLL is freely redistributable like many DLLs, but you still must install the DLL in your SETUP program. In addition, you must ship the MSVCRTxx.DLL, which contains the C-runtime library which is used both by your program and the MFC DLLs themselves.

  12. Manifest Generation in Visual Studio
  13. Generation of a manifest file for a particular project can be controlled in the project Property Pages dialog. On the Configuration Properties tab, click Linker, then Manifest File, then Generate Manifest. By default the project properties of new projects are set to generate a manifest file. However it is possible to disable generation of the manifest for a project using the Generate Manifest property of the project. When this property is set to Yes, the manifest for this project is generated. Otherwise the linker ignores assembly information when resolving dependencies of the application code, and does not generate the manifest.

  14. Manifest Generation at the Command Line 11/04/2016 2 minutes to read
  15. Mt.exe :: manifest tool
  16. on Visual Studio 2017 enterprise location of mfc140u.dll and mfcm140u.dll:

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Redist\MSVC\14.10.25017\x86\Microsoft.VC150.MFC

    mfc140u.dll and mfcm140u.dll

    under C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86\Microsoft.VC140.CRT

    1. vcruntime140.dll
    2. vccorlib140.dll
    3. msvcp140.dll
    4. concrt140.dll

    under C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86\Microsoft.VC140.MFC

    1. mfc140u.dll
    2. mfcm140u.dll

  17. How to select the version of the VC 2008 DLLs the application should be linked to?
  18. How to select against which version of the Visual C++ libraries the application is compiled?
  19. Обсуждение: Standalone Windows Installation
  20. setup cannot find the file office.en-us\microsoft.vc80.crt.manifest
  21. VCRUNTIME140.dll missing
  22. questionI have a problem when trying to install apache 2.4 on my windows 10. It always shows the error that VCRUNTIME140.dll is missing. I have checked other threads and found out that installing the 2015 Visual c++ Redistributables x64/x86 always solves the problem but I have both installed and I still have this problem. Are there any other solutions?


No comments:

Post a Comment