Jump to content
Sign in to follow this  
Driver170

Exiting (shutting down) P3D v4.2 causes Api.dll crash

Recommended Posts

I’m scratching my head why i get this when shutting down the sim?

I use Prosim 737

windows 7

 


Vernon Howells

Share this post


Link to post
Share on other sites

The api.dll indicates something is not compatible with an application.  We are seeing this more in P3DV4.2 because it is 64 bit and developers have not fully upgraded their products for complete compatibility.  I have seen it mostly with an incompatibility with one of the modules loaded in one of the two dll.xml's.  FSUIPC can cause it too if not updated to be compatible with P3DV4.2.


Jim Young | AVSIM Online! - Simming's Premier Resource!

Member, AVSIM Board of Directors - Serving AVSIM since 2001

Submit News to AVSIM
Important other links: Basic FSX Configuration Guide | AVSIM CTD Guide | AVSIM Prepar3D Guide | Help with AVSIM Site | Signature Rules | Screen Shot Rule | AVSIM Terms of Service (ToS)

I7 8086K  5.0GHz | GTX 1080 TI OC Edition | Dell 34" and 24" Monitors | ASUS Maximus X Hero MB Z370 | Samsung M.2 NVMe 500GB and 1TB | Samsung SSD 500GB x2 | Toshiba HDD 1TB | WDC HDD 1TB | Corsair H115i Pro | 16GB DDR4 3600C17 | Windows 10 

 

Share this post


Link to post
Share on other sites
On 6/22/2018 at 4:07 AM, Driver170 said:

I’m using My traffic 6 jim you think that could be it

MyTraffic6 will work in P3DV4 but some of our members found some incompatible aircraft.  If you delete them, it should work okay.  See page 25, AVSIM CTD Guide regarding incompatible aircraft.


Jim Young | AVSIM Online! - Simming's Premier Resource!

Member, AVSIM Board of Directors - Serving AVSIM since 2001

Submit News to AVSIM
Important other links: Basic FSX Configuration Guide | AVSIM CTD Guide | AVSIM Prepar3D Guide | Help with AVSIM Site | Signature Rules | Screen Shot Rule | AVSIM Terms of Service (ToS)

I7 8086K  5.0GHz | GTX 1080 TI OC Edition | Dell 34" and 24" Monitors | ASUS Maximus X Hero MB Z370 | Samsung M.2 NVMe 500GB and 1TB | Samsung SSD 500GB x2 | Toshiba HDD 1TB | WDC HDD 1TB | Corsair H115i Pro | 16GB DDR4 3600C17 | Windows 10 

 

Share this post


Link to post
Share on other sites
On 6/21/2018 at 7:42 PM, Jim Young said:

The api.dll indicates something is not compatible with an application.  We are seeing this more in P3DV4.2 because it is 64 bit and developers have not fully upgraded their products for complete compatibility.  I have seen it mostly with an incompatibility with one of the modules loaded in one of the two dll.xml's.  FSUIPC can cause it too if not updated to be compatible with P3DV4.2.

Hi Jim,

Thanks for clarifying. I see this error on my log almost every time I exit P3d v4.3. This is with a full OS & P3d install.

I might have seen this error in v4.2, but not almost every time I exit P3d.

For now I have to ignore the error since I have way too many addons that need to be fully updated to P3D v4.3 such as ASP4, EZDOK, the F1 GTN 750, AI Traffic, payware airports, etc.


A pilot is always learning and I LOVE to learn.

Share this post


Link to post
Share on other sites
On 6/21/2018 at 7:42 PM, Jim Young said:

The api.dll indicates something is not compatible with an application.  We are seeing this more in P3DV4.2 because it is 64 bit and developers have not fully upgraded their products for complete compatibility.  I have seen it mostly with an incompatibility with one of the modules loaded in one of the two dll.xml's.  FSUIPC can cause it too if not updated to be compatible with P3DV4.2.

This morning, I decided to disable DL  and just fly around an area known by me to always  produce the api.dll error and after exiting P3D v4.3 I checked my log and the api.dll error was not there. It's worth mentioning that I never really used DL in p3d v4.2 due to performance issues. Tried DL for the AS CRJ, but performance was not acceptable.

I enable DL for testing in P3D v4.3 and left it on because I loved the way my system performed. I'll keep testing and keep my fingers crossed.

Edited by DJJose

A pilot is always learning and I LOVE to learn.

Share this post


Link to post
Share on other sites

On shutdown, many apps/addons do not shutdown properly and create a crash.  I got these all of the time until I checked "Prompt on Exit".  This allows the sim time to shutdown the addons properly.


Jim Young | AVSIM Online! - Simming's Premier Resource!

Member, AVSIM Board of Directors - Serving AVSIM since 2001

Submit News to AVSIM
Important other links: Basic FSX Configuration Guide | AVSIM CTD Guide | AVSIM Prepar3D Guide | Help with AVSIM Site | Signature Rules | Screen Shot Rule | AVSIM Terms of Service (ToS)

I7 8086K  5.0GHz | GTX 1080 TI OC Edition | Dell 34" and 24" Monitors | ASUS Maximus X Hero MB Z370 | Samsung M.2 NVMe 500GB and 1TB | Samsung SSD 500GB x2 | Toshiba HDD 1TB | WDC HDD 1TB | Corsair H115i Pro | 16GB DDR4 3600C17 | Windows 10 

 

Share this post


Link to post
Share on other sites

Hi, I have this Issue as well. Whenever I clear dll.xml and Addons.cfg and exe.xml in C/ProgrammData/LM/P3Dv4 and in the AppData/Roaming/LM/P3Dv4 folder, the issue is not there anymore. Secondly, when I disable DL I can keep every entry in the DLL and the Sim will not crash on exit. I just checked and on my rig it has to do something with "FS DREAMTEAM ADDON MANAGER" and GSX, if I disable those and put DL on again, no CTD

 

Regards

 

Share this post


Link to post
Share on other sites
On 7/11/2018 at 10:42 AM, lufthansa011 said:

Hi, I have this Issue as well. Whenever I clear dll.xml and Addons.cfg and exe.xml in C/ProgrammData/LM/P3Dv4 and in the AppData/Roaming/LM/P3Dv4 folder, the issue is not there anymore. Secondly, when I disable DL I can keep every entry in the DLL and the Sim will not crash on exit. I just checked and on my rig it has to do something with "FS DREAMTEAM ADDON MANAGER" and GSX, if I disable those and put DL on again, no CTD

 

Regards

 

Yep. I see no error with addon manager disabled. Umberto needs to look into this issue.


A pilot is always learning and I LOVE to learn.

Share this post


Link to post
Share on other sites

This has been extensively discussed on the FSDT forums beginning in mid May of this year. Apparently there was an issue in one of the files that FSDT products use that was causing the API.DLL on shutdown.

I was getting the API crash too. The recommendation is to run the FSDT live updater to insure that coutatl, bgdmanx and other FSDT executable and DLL files are at the latest versions. I did so, and have not had the API crash-on-exit problem for the past three or four weeks.


Jim Barrett

Licensed Airframe & Powerplant Mechanic, Avionics, Electrical & Air Data Systems Specialist. Qualified on: Falcon 900, CRJ-200, Dornier 328-100, Hawker 850XP and 1000, Lear 35, 45, 55 and 60, Gulfstream IV and 550, Embraer 135, Beech Premiere and 400A, MD-80.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...