Jump to content
The simFlight Network Forums

Recommended Posts

Posted

1. Where can I get a description of what this software does ? I'm just looking for something to access the L var etc. in MSFS from my application (C# and C++)

2. My C# application (uses MSFS SDK and simconnect) is 90% complete but has many holes where I've not been able to map events to MSFS. Will this fill in what I'm missing?

 

thanks for beginner's question .. I'm a professional programmer and a commercial pilot and CFI-G instructor ...

Posted
9 hours ago, ZenMusicSoaring said:

1. Where can I get a description of what this software does ? I'm just looking for something to access the L var etc. in MSFS from my application (C# and C++)

To access lvars (+ hvars and ability to execute any calculator code) from c#, you can use the FSUIPC WASM module with the WAPI dll wrapper, available here: http://www.fsuipc.com/. The dll is just a C wrapper around the .lib. Both are also available on github - see
  FSUIPC WASM API library:   https://github.com/jldowson/FSUIPC_WAPI
  DLL wrapper:  https://github.com/jldowson/FSUIPC_WDLL 
  test client: https://github.com/jldowson/WASMClient

I will also put the WASM on github at some point....

9 hours ago, ZenMusicSoaring said:

2. My C# application (uses MSFS SDK and simconnect) is 90% complete but has many holes where I've not been able to map events to MSFS. Will this fill in what I'm missing?

You should also take a look at Paal Henty's .Net dll client - this uses the FSUIPC WAPI  (as well as the FSUIPC SDK) - see https://forum.simflight.com/forum/167-fsuipc-client-dll-for-net/

John

P.S. You can also just download FSUIPC7, install it and look in the SDK folder. All programming features are free to use (no license required).
However, as you are already using Simconnect and jyst require access to lvars/hvars, its probably only the WAPI / WAPID inrterface that you may want ti use, but that may be easier to access via Paul's .net client dll (see http://fsuipc.paulhenty.com/#home)

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.