question

Wayne Fischer avatar image
1 Like"
Wayne Fischer asked Ben Wilson edited

Can't open program because VCRUNTIME140.dll missing

I downloaded FlexSim HC 5.1.0. When I tried to install it, FlexSim shows the following error message:

The program can't start because VCRUNTIME140.dll is missing from your computer.
Try reinstalling the program to fix this problem.

I tried reinstalling, but it failed again.

Choose One
FlexSim HC 5.0.12
FlexSim HC 5.1.0
error messageflexsim hcinstallationflexsim hc 5.1missing dll
vcruntime140dll.png (10.7 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Matthew Gillespie avatar image
2 Likes"
Matthew Gillespie answered Ben Wilson edited

That is a file that should be included with windows if your computer is up to date.

Take a look at this answer for a more detailed explanation.

· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

It is worth linking to the general installation or startup troubleshooting tips. It can cover this error (through the Windows update suggestion) and various other issues.

I add it here in case others searching for a solution to their own startup/installation issue need more ideas.

2 Likes 2 ·
Wayne Fischer avatar image Wayne Fischer commented ·

Well, maybe. I successfully launched and ran 5 other Windows programs. ??? And if it's a Windows issue, why would the error message say "Try reinstalling?"

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Wayne Fischer commented ·

HC 5.1 uses an updated version of WebKit which is the library that renders the Start Page, Dashboards, and User Manual. This new version uses certain Windows DLL functions that were added in Windows Update KB2999226 (the "Universal CRT" update). If you're up to date on windows updates you should have the new DLLs ("vcruntime140.dll" and "api-ms-win-crt-runtime-l1-1-0.dll"). Alternatively you can manually download the missing files here Visual C++ Redistributable for Visual Studio 2015.

"I successfully launched and ran 5 other Windows programs." - Just because it's a Windows program it doesn't mean it needs to use those new DLLs. HC 5.1 does though and it can't find them.

"And if it's a Windows issue, why would the error message say "Try reinstalling?"" - That error message is a generic message FlexSim shows you when it can't find a file it needs. Usually a program installs all the files it will need to use so re-installing often fixes problems like this. However, this DLL is not included with FlexSim because Windows has already included it (as long as you're on a recent update).

2 Likes 2 ·
Wayne Fischer avatar image Wayne Fischer commented ·

Had to do the manual thing, but it worked! Thanks, Matthew. :-)

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.