Page 1 of 2

Help me to Fix MSVCP140.dll is Missing error

Posted: 03 Dec 2018, 05:39
by paulwilliams143
I've tried almost every single solution to fix this issue but no help. I'm using Windows 8.1 laptop but no able to use OpenMW in any way.

Here's the exact error message I'm getting:

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

Is there anything I'm missing or some kind of required file? I need some permanent solution.

Re: Help me to Fix MSVCP140.dll is Missing error

Posted: 03 Dec 2018, 07:18
by akortunov
viewtopic.php?t=5461
Basically, you need the Microsoft Visual C ++ Redistributable package.

Re: Help me to Fix MSVCP140.dll is Missing error

Posted: 03 Dec 2018, 07:19
by paulwilliams143
I already tried it but no help.

Re: Help me to Fix MSVCP140.dll is Missing error

Posted: 03 Dec 2018, 07:20
by akortunov
paulwilliams143 wrote: 03 Dec 2018, 07:19 I already tried it but no help.
Do you have the MSVCP140.dll installed on your system (I assume you installed mentioned package, right)?
I suppose it should be in the C:\Windows\System32\ on the 32-bit OS or in the C:\Windows\SysWOW64\ on the 64-bit OS.

Re: Help me to Fix MSVCP140.dll is Missing error

Posted: 03 Dec 2018, 14:44
by AnyOldName3
It should be in System32 on either version - SysWOW64 is short for System32WindowsOnWindows64, and it's where the 32-bit versions of things live, because of course that makes sense. I think the justification is that when some applications were recompiled for 64-bit for the first time, it was realised they were hardcoded to load DLLs from System32 instead of wherever the linker said they'd be.

Re: Help me to Fix MSVCP140.dll is Missing error

Posted: 04 Dec 2018, 07:36
by paulwilliams143
Hey, I couldn't find it in either locations.

I also looked it up on Google and they said that I have to add some type of DLL file into my PC manually.

Is that so?

Re: Help me to Fix MSVCP140.dll is Missing error

Posted: 04 Dec 2018, 09:10
by psi29a
Normally you have to install 32-bit (and 64-bit if your OS is 64-bit) of the redist... that should take care of things.

Here is the last thread that asked about MSVCP140.dll:
viewtopic.php?f=8&t=5461&p=59022

I answered and it was marked solved. ;)

Re: Help me to Fix MSVCP140.dll is Missing error

Posted: 05 Dec 2018, 10:39
by akortunov
Is it possible to provide Microsoft libraties in OpenMW packages for Windows, or somehow notify users about they need a Microsoft Visual C++ Redistributable?

Re: Help me to Fix MSVCP140.dll is Missing error

Posted: 05 Dec 2018, 12:50
by AnyOldName3
The release builds are supposed to contain the redists, and the only way I can see them not getting installed is if the user has already manually screwed something up by manually installing other DLLs from the same redist.

Re: Help me to Fix MSVCP140.dll is Missing error

Posted: 06 Dec 2018, 06:05
by paulwilliams143
psi29a wrote: 04 Dec 2018, 09:10 Normally you have to install 32-bit (and 64-bit if your OS is 64-bit) of the redist... that should take care of things.

Here is the last thread that asked about MSVCP140.dll:
viewtopic.php?f=8&t=5461&p=59022

I answered and it was marked solved. ;)
Sure, I'll go through the thread that you mentioned.