X-Plane 11

X-Plane 11

C++ Run time error
hi
every time i try and do a full flight, most of the time i get a notice saying microsoft c++ 2005 run time error, and then x plane crashes. please help
thanks
< >
Beiträge 111 von 11
At what point does it crash?
opjose 4. März 2018 um 15:51 
You likely have serveral versions of VC++ installed on your computer and the wrong version is being loaded when X-plane starts.

A lot of program installers love to install their own versions.

I've seen computers with over 36 different VC++ installations!!!

The best thing to do is to uninstall all versions, then either re-install the version provided with X-plane and/or verify game files to force a re-install of VC++.

Zuletzt bearbeitet von opjose; 4. März 2018 um 16:10
XPlanePhil  [Entwickler] 5. März 2018 um 7:00 
X-Plane is compiled with VS 2015, so if you get a crash in the 2005 runtime, it must be from an aftermarket software, plugin, or driver that was compiled for the 2005 runtime, not X-Plane.
Thanks everyone
I will have a look and remove all my plugins and any other VC++ editions. The error normally comes up after about an 1hr and 30 mins of x plane running time.
Here are the microsoft c++ versions

Microsoft Visual C++ 2005 Redistributable - Version 8.0.61001
Microsoft Visual C++ 2005 Redistributable - Version 8.0.56336
Microsoft Visual C++ 2010 x64 Redistributable - Version 10.0.40219
Microsoft Visual C++ 2010 x86 Redistributable - Version 10.0.40219
Microsoft Visual C++ 2012 Redistributable (x64) - Version 11.0.50727.1
Microsoft Visual C++ 2012 Redistributable (x64) - Version 11.0.61030.0
Microsoft Visual C++ 2012 Redistributable (x86) - Version 11.0.50727
Microsoft Visual C++ 2012 Redistributable (x86) - Version 11.0.61030.0

Any ideas?
Read this again and check if you have the appropriate year:
Ursprünglich geschrieben von XPlanePhil:
X-Plane is compiled with VS 2015, so if you get a crash in the 2005 runtime, it must be from an aftermarket software, plugin, or driver that was compiled for the 2005 runtime, not X-Plane.
I dont have VS2015 installed looking at the control panel
opjose 5. März 2018 um 10:14 
Ursprünglich geschrieben von oliverr.ward:
Here are the microsoft c++ versions

Microsoft Visual C++ 2005 Redistributable - Version 8.0.61001
Microsoft Visual C++ 2005 Redistributable - Version 8.0.56336
Microsoft Visual C++ 2010 x64 Redistributable - Version 10.0.40219
Microsoft Visual C++ 2010 x86 Redistributable - Version 10.0.40219
Microsoft Visual C++ 2012 Redistributable (x64) - Version 11.0.50727.1
Microsoft Visual C++ 2012 Redistributable (x64) - Version 11.0.61030.0
Microsoft Visual C++ 2012 Redistributable (x86) - Version 11.0.50727
Microsoft Visual C++ 2012 Redistributable (x86) - Version 11.0.61030.0

Any ideas?

Yup, as Draco says, you have a plugin using C++ 2005 that is picking up the wrong version.

Either disable the plugin or uninstall the two 2005 libraries and install the one the plugin needs.

I will try doing that. thanks very much - im relatively new to x plane so im still trying to find me feet.
On control panel, one of the VC++ versions say if you uninstall it, some files may not work correctly - could that be the plugin?
opjose 5. März 2018 um 10:29 
You can have multiple programs installed that require VCC++ 2005.

You could go through everything on your computer and find which programs require 2005, or take the easier approach and uninstall both, reboot, and install the version required by the plugin.

I would give priority to the later version however.

If one program installs an earlier version and another a later version, it is likely that both programs work correctly with the later version alone.
Ok, thanks, I will just go and clear out my plugins. i have also noticed some missing scenery file errors, so i might just un-install x plane and redownload it
< >
Beiträge 111 von 11
Pro Seite: 1530 50

Geschrieben am: 4. März 2018 um 4:40
Beiträge: 11