Jump to content
The simFlight Network Forums

stevesuk

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by stevesuk

  1. 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.

  2. 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.

  3. On 8/20/2020 at 2:57 PM, Paul Henty said:

    Hi Steve,

    I don't think I'll be converting to .NET Standard. It doesn't make any sense to me to use a restricted feature set when I can use the full .NET Framework. The only reason to use the cut-down .NET Core and .NET Standard is portability. But my library (and the server you are writing) would never be able to work on anything but Windows. In that case one would just use the full .NET Framework as there is no reason not to.

    Paul

    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!  

  4. 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.

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