Troubleshooting
Problem
For all supported Windows versions before Windows 10 (7, 8.0, 8.1, 2008R2 server, 2012 Server, 2012 R2 server)), a Microsoft update (KB3118401) is required to allow the use of the Visual Studio 2015 C++ executables, both IBM provided samples and those built by customers.
Symptom
The most likely symptom is the program failing to start with a popup message displaying the following text:
The program can't start because api-ms-win-crt-runtime-|1-1-0.dll is missing from your computer. Try reinstalling the program to fix this problem.
Cause
The C/C++ runtime libraries have been refactored by Microsoft at Visual Studio 2015. The Microsoft supplied merge modules which are installed by IBM MQ no longer contain the entire C runtime. The remaining portion, the "Universal C Runtime", is now installed as a system component in Windows 10. However, it is not included in, and has not been pushed to, earlier Windows versions.
Environment
Windows prior to Windows 10
Diagnosing The Problem
Visual Studio 2012 is the level used to build the IBM MQ C++ samples, however they are also provided as executables compiled with Visual Studio 2015 and instructions for users to use these samples are given here:
https://www.ibm.com/support/knowledgecenter/SSFKSJ_9.0.0/com.ibm.mq.dev.doc/q030490_.htm
C++ programs built against Visual Studio 2015 (both IBM and user-built) will fail to launch, potentially with the popup as described above, though other errors of a similar nature are possible.
Resolving The Problem
Either use the Visual Studio 2012 support provided as the standard level in IBM MQ 9.0.1 or, if you need to use Visual Studio 2015, then apply the Knowledge Base update (KB3118401), using the instructions provided by Microsoft.
The following URL should take you to the download for the "Universal C Runtime", complete with install instructions.
https://www.microsoft.com/en-us/download/details.aspx?id=50410
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21995034