Tom A320

How to fix PFPX runtime problems

Recommended Posts

PFPX, like many other Windows applications, makes use of the so called Microsoft Visual C++ Redistributables. These are function libraries and are fixed to the development environment a program was developed (compiled) with.

The current version of PFPX was build with the Microsoft Visual Studio 2015, hence it requires the Microsoft Visual C++ 2015 Redistributables

 

There are currently 4 known problems that might occur with your installation of these packages, which can all be fixed by the instructions in this topic.

 

  1. The installer of PFPX comes with these packages (for 32bit and 64bit Windows systems) and installs them. In rare cases it happens, that the installation fails and when you afterwards try to start PFPX you end up with an error message that one of the following files is missing (or even both):

    api-ms-win-crt-runtime-l1-1-0-dll
    mfc140.dll
     
  2. The MC++ Redist Packages somehow are getting corrupt and lead PFPX to crash from time to time within the NTDLL.DLL file (as revealed by the Windows Event Logs).
     
  3. You are unable to add a new aircraft into the PFPX aircraft database, because the menu item is grayed our or nothing happens when clicking it.
     
  4. Some of the PFPX windows miss the buttons in the toolbar on top of the window.

 

 

To fix all the problems you have to re-install the MSVC redist package(s). The following is a step-by-step guide to do this. 

 

  1. Open the Windows Control Panel and then Add/Remove Programs respective Programs and Features
     
  2. Locate the item(s) 
    1. Microsoft Visual C++ 2015 x86 Redistributable
    2. Microsoft Visual C++ 2015 x64 Redistributable
       
  3. Right click them and select uninstall
     
  4. Reboot your system
     
  5. Download the following to installers directly from Microsoft:
     
    1. Microsoft Visual C++ Visual Studio 2017 x64
      https://go.microsoft.com/fwlink/?LinkId=746572
       
    2. Microsoft Visual C++ Visual Studio 2017 x86
      https://go.microsoft.com/fwlink/?LinkId=746571
       
  6. In case you wonder why PFPX is shipped with the 2015 packages and you are getting asked here to install the 2017 ones:
    The current version of PFPX (1.28.9i) was build using Visual Studio 2015. Therefore the 2015 packages are needed (as stated on top of this post). But as a matter of fact, the 2017 packages are a bugfix version of the 2015 ones. Microsoft just decided to name them 2017. Previous versions of this post asked you to download and install the "Microsoft Visual C++ Visual Studio 2015 Update 3" packages. 
     
  7. Install both packages as Administrator. Do so by right clicking each file and select "Run as Administrator"
     
  8. Reboot your system

 

 

Don't worry if you do not find both but just one packages being installed on your system. It is only that version (32bit or 64bit) needed which matches to your Windows version, which is either 32bit or 64bit. If you are not sure it doesn't harm to install both packages.

 

Now everything should be fine again. If not, you can also try the MS .Net Repair Tool, available through the following topic:

 

 

  • Upvote 3

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.