Jump to content
The simFlight Network Forums

uwp template


Recommended Posts

Hello,

I've decided to port an application that I've written in Python with the pyuipc library over to .net.

I'm trying to decide which UI framework to use. I think I would like to use UWP if possible. Do you have any templates for using the fsuipc .net library with uwp?

Thanks!

 

Link to comment
Share on other sites

Hi Jason,

Unfortunately you won't be able to use my DLL in a UWP application.

UWP Apps are run in a sandbox and do not have access to the full Win32 API. This API is what FSUIPC uses to communicate with all the flight sims as they were written as windows 'desktop' applications. A UWP app therefore will not have the means to communicate via FSUIPC.

You might be able to use the managed SimConnect library in UWP as this uses standard network protocols rather than WIn32. But I don't know for certain as I'm not that familiar with SimConnect.

If you want to stick with FSUIPC and use my DLL (which is much easier than SimConnect) you'll need to choose between WinForms or the newer, more modern-looking WPF framework.

Paul

Link to comment
Share on other sites

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.