I needed to be able to access some local variables that are not exposed by SimConnect for a skunkworks project that I’m working on. After a lot of research I finally managed to get something working.
I already use the excellent MobiFlight WASM module to be able to send non-standard events and when I realised that the code had been open sourced I decided to add this functionality to that module.
This is the result of my efforts. It is based on a method used in this repository.
You can access the fork here MobiFlightWASM-Elephant42. I have also included some basic C++, C# and VB client code to exercise the new functions.
I have sent a pull request to the @MobiFlight author so if he likes what I’ve done it might make it’s way to the main branch.