Orbiter-Forum  

Go Back   Orbiter-Forum > Orbiter Space Flight Simulator > General Questions & Help
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

General Questions & Help General & Advanced Orbiter flight questions, Orbiter installation questions, to all other help topics here.

Reply
 
Thread Tools
Old 08-14-2016, 04:03 PM   #1
SkylabI
Orbinaut
Default VCRUNTIME140.dll and MSVCP140.dll errors

Hey all,

I'm running a build of Orbiter 100830 with Orbiter Sound 4.0, IMFD 5.5, and the latest snapshot of NASSP, I think 192.

When I open Orbiter I get three error boxes, one of the first and two of the second:

Quote:
Orbiter Launchpad: orbiter.exe - System Error

The Program can't start because VCRUNTIME140.dll is missing from your computer. Try reinstalling the program to fix this problem.
Quote:
Orbiter Launchpad: orbiter.exe - System Error

The Program can't start because MSVCP140.dll is missing from your computer. Try reinstalling the program to fix this problem.
I click "OK" through them and the sim seems to run normally, but I have noticed that IMFD seems to be behaving differently from how the NASSP documentation suggests - a topic I might ask about elsewhere - but I don't know if that's my own learning curve or an issue because of the .dll problems.

I have re-installed Microsoft Visual C++ at the suggestion of Dr. Google but the above problems still persist.

Help?

Thanks!
SkylabI is offline   Reply With Quote
Old 08-14-2016, 04:22 PM   #2
fausto
FOI SuperMod
 
fausto's Avatar
Default

You can search them with Google and download them. Then you have to insert these files in your Orbiter main folder
fausto is offline   Reply With Quote
Old 08-14-2016, 04:39 PM   #3
orb
O-F Administrator
Ninja
 
orb's Avatar

Default

Instead of searching for these specific files with Google and inserting them in the Orbiter directory, install VC++ 2015 runtime redistributable package, x86 version (you can also install the x64 version if you have 64-bit OS, but x86 version is required by 32-bit programs and libraries, like in this case, anyway): https://www.microsoft.com/en-us/down....aspx?id=52982
orb is offline   Reply With Quote
Thanked by:
Old 08-14-2016, 04:51 PM   #4
SkylabI
Orbinaut
Default

Quote:
Originally Posted by orb View Post
 Instead of searching for these specific files with Google and inserting them in the Orbiter directory, install VC++ 2015 runtime redistributable package, x86 version (you can also install the x64 version if you have 64-bit OS, but x86 version is required by 32-bit programs and libraries, like in this case, anyway): https://www.microsoft.com/en-us/down....aspx?id=52982
So, if I downloaded x64 because I have a 64 bit system, I also need the x86 version as well?
SkylabI is offline   Reply With Quote
Old 08-14-2016, 04:55 PM   #5
orb
O-F Administrator
Ninja
 
orb's Avatar

Default

Yes, you need x86 for 32-bit programs using them. The x64 redistributables don't include 32-bit libraries.
orb is offline   Reply With Quote
Old 08-14-2016, 05:53 PM   #6
SkylabI
Orbinaut
Default

Thanks so much! That solved everything and I learned something to boot. I thought an x64 installation covered everything.
SkylabI is offline   Reply With Quote
Old 08-14-2016, 07:48 PM   #7
ADSWNJ
Scientist
 
ADSWNJ's Avatar
Default

Quote:
Originally Posted by fausto View Post
 You can search them with Google and download them. Then you have to insert these files in your Orbiter main folder
Never do this! Always do a proper installation of the redists, as orb said, else you litter you machine with various un-maintained versions of stray .DLL's.

By the way - the VCRUNTIME140.dll comes from the Visual Studio 2015 compiler ... a new name format to the previous MSVCRxxx.dll, but doing the same job (i.e. implementing the C or C++ functions being utilized in the .DLL file, as a result of doing the C++ compile and link).

Last edited by ADSWNJ; 08-14-2016 at 07:51 PM.
ADSWNJ is offline   Reply With Quote
Old 06-27-2017, 10:28 AM   #8
jackadision
Orbinaut
Default

Both the VCRUNTIME140.dll and MSVCP140.dll errors are related to the DLL files, when the dll files gets misplaced or deleted from their actual place then you will receive different types of DLL error messages.

To overcome from all types of DLL error you should follow the below given solution:

1. Recover the deleted DLL file from Recycle bin
2. Use free file recovery software to recover deleted DLL files
3. Scan your computer with antivirus or malware scanner
4. Reinstall the software that uses DLL files
5. Use inbuilt System Restore function to undo current system changes
6. Update drivers for any Hardware
jackadision is offline   Reply With Quote
Old 08-30-2018, 09:56 AM   #9
Bernardo
Orbinaut
Default

The best way to solve this problem fast without any additional tools or software it's download missed .dll library file from https://dlldownloads.com/vcruntime140-dll/ and paste it in the same directory.
Bernardo is offline   Reply With Quote
Old 10-13-2019, 02:14 PM   #10
Hermann Oberth
Orbinaut
Default

The link for the MSVCP140.dll is not valid anymore!

https://www.microsoft.com/en-us/down....aspx?id=52982

Where do I get this .dll?

https://www.dll4free.com/msvcp140.dll.html ?

32 bit https://www.dll4free.com/msvcp140.dll.html#
64 bit https://www.dll4free.com/msvcp140.dll.html#

Is this a propper source, and if yes, wich one?

Last edited by Hermann Oberth; 10-13-2019 at 02:24 PM.
Hermann Oberth is offline   Reply With Quote
Old 10-13-2019, 03:30 PM   #11
dbeachy1
O-F Administrator
 
dbeachy1's Avatar


Default

What you need is the Visual Studio 2015 Redistributable Files, not just that single DLL. Be sure the download the 32-bit version, named vc_redist.x86.exe, not the 64-bit version. The add-on(s) you installed that require MSVCP140.dll should mention the Visual Studio 2015 Redistributable Files in their readme file(s). If not, then that's a bug in the installation instructions.

Also, as a guideline, you have to be really careful before you download any DLLs directly from a third-party site -- lots of those "missing DLL" sites serve malware in the DLLs, on the download site itself, or both. So it's always better to get the files you need from microsoft.com.
dbeachy1 is offline   Reply With Quote
Thanked by:
Old 10-13-2019, 03:39 PM   #12
Hermann Oberth
Orbinaut
Default

Thank you.
Thats why I asked befor downloading!
Hermann Oberth is offline   Reply With Quote
Reply

  Orbiter-Forum > Orbiter Space Flight Simulator > General Questions & Help


Thread Tools

Posting Rules
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


All times are GMT. The time now is 06:47 AM.

Quick Links Need Help?


About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.