Jump to content
The simFlight Network Forums

stevesuk

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by stevesuk

  1. Great stuff! That's fixed. I'll move on and start testing in the sim. Steve.
  2. More testing ... My previous post was Net5. Not a very helpful error message. If I use Net Framework 4.8 I get this error:- [INFO]: **** Starting FSUIPC7 WASM Interface (WAPI) version 0.5.1 [INFO]: Connected to MSFS Managed Debugging Assistant 'CallbackOnCollectedDelegate' A callback was made on a garbage collected delegate of type 'fsuipcClient!FSUIPC.WAPI+NotifyLVarChangedCallback::Invoke'. This may cause application crashes, corruption and data loss. When passing delegates to unmanaged code, they must be kept alive by the managed application until it is guaranteed that they will never be called. The program '[20936] WpfApp3.exe' has exited with code -1 (0xffffffff). Hope it helps Steve.
  3. OnVariablesReadyChanged and OnValuesChanged now get called (after the VS.Start) but then system fails with this error:- [INFO]: **** Starting FSUIPC7 WASM Interface (WAPI) version 0.5.1 [INFO]: Connected to MSFS An unhandled exception of type 'System.ExecutionEngineException' occurred in Unknown Module. I have no code in the OnVariablesReadyChanged and OnValuesChanged methods. Steve.
  4. I've tried your new code (as indicated at the top of this post) and neither OnVariablesReadyChanged or OnValuesChanged gets called. (WASMClient indicates that variables are avaliable). Steve.
  5. I now have to have a little chuckle to myself. A new non .NET Framework version has now been done. You see ..... I knew you would need one eventually!
  6. I forgot to add that I want to write a WPF app, that runs on a different monitor screen on my sim pc or installed on another windows tablet, to talk to this same windows service.
  7. I'm using .NET Core as that seems to be the way forward for windows. WPF can now use it. I'm putting together an Alexa skill that talks to a raspberry pi that talks to a windows service running on my sim PC. This service is .NET Core using the newly introduced BackgroundService functionality and can only use .NET Standard libraries (DLLs). I want to achieve 'Alexa, ask flight control (or my sim, or something else) {show} external camera' etc etc. Steve.
  8. Any chance of compiling this to NET Standard?
×
×
  • 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.