Luuk3333 / FFA320Connector-Fork

Fork of the FFA320Connector by mokny. The link between the FlightFactor A320 Ultimate and Hardware-Devices.
https://github.com/Luuk3333/FFA320Connector
Other
12 stars 5 forks source link

Run-Time Check Failure since commit e9d2a49 #10

Open Luuk3333 opened 5 years ago

Luuk3333 commented 5 years ago

When using this config file the plugin will crash with a 'Run-Time Check Failure' when loading on Windows (macOS and Linux not tested at the moment).

This issue occurs since commit e9d2a49. I've added a .gitignore in that commit, so a deleted file must be the cause of the problem. I've tracked that specific file down with the following steps:

  1. git reset --hard e5a9e148393339a995267425fdbebd94453a1a94
  2. Create and paste gitignore from e9d2a49, but remove or comment lines to keep those files
  3. git rm -r --cached .
  4. git add .
  5. git status
  6. git commit -m "Test"
  7. git clean -fdX
  8. Repeat, but remove or uncomment different lines

and it appears to be the file 'src_vs2013/FFA320Connector.v12.suo'. That's a user-specific file so it's usually not included in version control. It's odd that a change in that file is causing the crash.

Steps to replicate crash (X-Plane version 11.30r3, build 113014):

  1. Clone any commit since e9d2a49, build it and install it.
  2. Download this config file and add it to the FFA320Connector folder inside X-Plane.
  3. Run X-Plane.

Tested local fix:

  1. Overwrite 'src_vs2013/FFA320Connector.v12.suo' from the version inside commit df3aca2. And overwrite 'src_vs2013/FFA320Connector.v12.vcxproj' (download), required to include SDK files.
  2. Build it, and copy+overwrite the built 'win.xpl' file to the FFA320Connector/64 folder inside X-Plane.
  3. Run X-Plane.

At this moment I can't get to a fix of this problem. I've tried opening .suo files with SSView but that didn't lead to much.