Service not starting without vcruntime140.dll RRS feed

  • Question

  • Hi,

    I have an application that was built in VS 2008/2010 and the application is running fine on Windows 7/8/8.1/10 without any Microsoft Visual C++ redistributeable package installed. Now, I migrated my project to VS 2015 (VC14). But, now, my service doesn't start on Windows 7/8/8.1 if vcruntime140.dll is unavailable. I faced many build brakes while building in VS 2015 and had to include some libraries like msvcrt.lib, legacy_stdio_definitions.lib. 

    Kindly provide support for the following queries :

    1. Why doesn't the application built on VS 2015 start if vcruntime140.dll isn't available?

    2. Which are the functions that have dependency on vcruntime140.dll?

    3. Is the dependency caused by msvcrt.lib?

    4. Is it possible to avoid this dependency over vcruntime140.dll so that the application can run on systems without Visual C++ redistributable 2015 package also?

    5. Am I permitted to distribute vcruntime140.dll along with my application?

    6. Is it possible to link vcruntime140 library as static in my application?

    Thanks in advance

    • Edited by nnkp Friday, February 26, 2016 12:32 PM
    Friday, February 26, 2016 12:17 PM

All replies

  • nnkp,

    Sorry but you have posted to a forum that deals exclusively with questions/issues about customizing and programming Microsoft Project, a project management application. I suggest you re-post to one of the Visual Studio forums in the group below:


    Friday, February 26, 2016 3:17 PM