How to redistribute a C ++ application developed in VS015 in Windows 8.1

0

I have developed an application in C ++ using the VS2015 and with W8.1. When running the application on other PCs with W8.1 it gives me an error with ucrtbase.dll. However, in PC with W10 the application runs without problems. I have tried installing VCRedis_x64.exe and VCRedist_x86.exe update 3, I have not obtained any favorable results. Any suggestions Thanks in advance.

    
asked by luis manuel rodriguez 19.03.2018 в 16:34
source

1 answer

0

Looking for UCRT I found this link where Microsoft explains the introduction of the Universal CRT: link

Especially interesting the section "Distributing Software that uses the Universal CRT". Quoting the page:

  

The Universal CRT is a Windows operating system component. It is a part of Windows 10. For Windows versions prior to Windows 10, the Universal CRT is distributed via Windows Update.

Basically, the ucrtbase.dll file is part of the operating system, not the compiler. As they suggest, installing the latest operating system updates should fix it. It is also available here: link

As they say:

  

Microsoft Visual Studio 2015 creates a dependency on the Universal CRT when applications are built by using the Windows 10 Software Development Kit

This dependency is added when configuring Windows 10 as an operating system target. If you would like to eliminate dependency, you should be able to do this by adjusting the target of the project to an earlier version of Windows.

    
answered by 05.04.2018 в 18:08